Corrections
This commit is contained in:
parent
e5f493c9c4
commit
13cfe8d8b4
5 changed files with 3 additions and 16 deletions
|
@ -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 }}"
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[Seat:*]
|
||||
#greeter-hide-users=true
|
||||
greeter-show-manual-login=true
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue