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 }}"
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 }}"

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
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

View file

@ -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

View file

@ -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,