diff --git a/ansible/roles/base/tasks/main.yml b/ansible/roles/base/tasks/main.yml index eee4e27..c3c3503 100644 --- a/ansible/roles/base/tasks/main.yml +++ b/ansible/roles/base/tasks/main.yml @@ -12,14 +12,6 @@ name: "{{ required_flatpak }}" 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 ansible.builtin.file: path: "{{ item }}" diff --git a/ansible/roles/base/templates/lightdm-show-manual.conf.j2 b/ansible/roles/base/templates/lightdm-show-manual.conf.j2 deleted file mode 100644 index 1241477..0000000 --- a/ansible/roles/base/templates/lightdm-show-manual.conf.j2 +++ /dev/null @@ -1,3 +0,0 @@ -[Seat:*] -#greeter-hide-users=true -greeter-show-manual-login=true diff --git a/ansible/roles/theme-libretic/tasks/main.yml b/ansible/roles/theme-libretic/tasks/main.yml index 4a7fba8..7725996 100644 --- a/ansible/roles/theme-libretic/tasks/main.yml +++ b/ansible/roles/theme-libretic/tasks/main.yml @@ -10,7 +10,7 @@ - name: Copie le thème plymouth ansible.builtin.copy: src: spin-libretic - dest: /usr/share/plymouth/themes/spin-libretic + dest: /usr/share/plymouth/themes/ owner: root group: root mode: u=rw,g=r,o=r diff --git a/config.yml b/config.yml index a9aa0e0..694868b 100644 --- a/config.yml +++ b/config.yml @@ -1,5 +1,5 @@ +base_path: ansible playbook: - base_path: ansible initial-setup: mint-initial-setup.yml register: mint-register.yml compliance: mint-compliance.yml diff --git a/libreticmenu/libreticmenu.py b/libreticmenu/libreticmenu.py index 95a5e49..3885dab 100644 --- a/libreticmenu/libreticmenu.py +++ b/libreticmenu/libreticmenu.py @@ -16,7 +16,6 @@ def print_status(): # Récupération des infos hostname = PosteLinuxMint.getHostName() domain = PosteLinuxMint.getDomain() - isRegistered = PosteLinuxMint.isRegistered() isCompliant = PosteLinuxMint.isCompliant() currentBranch = libreticmenuBranch.getlibreticmenuBranch() @@ -147,11 +146,10 @@ def removeLocalAdminChoice(config, branch): def main(): 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("-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) args = parser.parse_args() - config = readConfig(args.config, args.section) + config = readConfig(args.config) menu_main = { "Définir le hostname": hostnameChoice,