Corrections

This commit is contained in:
Navas 2024-10-02 08:23:24 +02:00
parent e5f493c9c4
commit 13cfe8d8b4
5 changed files with 3 additions and 16 deletions

View file

@ -12,14 +12,6 @@
name: "{{ required_flatpak }}" name: "{{ required_flatpak }}"
method: system method: system
- name: Configuration Lightdm
ansible.builtin.template:
src: lightdm-show-manual.conf.j2
dest: /etc/lightdm/lightdm.conf.d/lightdm-show-manual.conf
owner: root
group: root
mode: u=rw,g=r,o=r
- name: Configuration Mintupdate - name: Configuration Mintupdate
ansible.builtin.file: ansible.builtin.file:
path: "{{ item }}" path: "{{ item }}"

View file

@ -1,3 +0,0 @@
[Seat:*]
#greeter-hide-users=true
greeter-show-manual-login=true

View file

@ -10,7 +10,7 @@
- name: Copie le thème plymouth - name: Copie le thème plymouth
ansible.builtin.copy: ansible.builtin.copy:
src: spin-libretic src: spin-libretic
dest: /usr/share/plymouth/themes/spin-libretic dest: /usr/share/plymouth/themes/
owner: root owner: root
group: root group: root
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r

View file

@ -1,5 +1,5 @@
base_path: ansible
playbook: playbook:
base_path: ansible
initial-setup: mint-initial-setup.yml initial-setup: mint-initial-setup.yml
register: mint-register.yml register: mint-register.yml
compliance: mint-compliance.yml compliance: mint-compliance.yml

View file

@ -16,7 +16,6 @@ def print_status():
# Récupération des infos # Récupération des infos
hostname = PosteLinuxMint.getHostName() hostname = PosteLinuxMint.getHostName()
domain = PosteLinuxMint.getDomain() domain = PosteLinuxMint.getDomain()
isRegistered = PosteLinuxMint.isRegistered()
isCompliant = PosteLinuxMint.isCompliant() isCompliant = PosteLinuxMint.isCompliant()
currentBranch = libreticmenuBranch.getlibreticmenuBranch() currentBranch = libreticmenuBranch.getlibreticmenuBranch()
@ -147,11 +146,10 @@ def removeLocalAdminChoice(config, branch):
def main(): def main():
parser = argparse.ArgumentParser(prog="libreticmenu.py", description="Menu de configuration poste Linux Mint") parser = argparse.ArgumentParser(prog="libreticmenu.py", description="Menu de configuration poste Linux Mint")
parser.add_argument("-c", "--config", help="Fichier de configuration (config.yml par défaut)", default="config.yml") parser.add_argument("-c", "--config", help="Fichier de configuration (config.yml par défaut)", default="config.yml")
parser.add_argument("-s", "--section", help="Section du fichier à utiliser (prod par défaut)", default="prod")
parser.add_argument("--runCompliance", help="Ne présente pas le menu et exécuter la conformité", action=argparse.BooleanOptionalAction) parser.add_argument("--runCompliance", help="Ne présente pas le menu et exécuter la conformité", action=argparse.BooleanOptionalAction)
args = parser.parse_args() args = parser.parse_args()
config = readConfig(args.config, args.section) config = readConfig(args.config)
menu_main = { menu_main = {
"Définir le hostname": hostnameChoice, "Définir le hostname": hostnameChoice,