From b4237285463cea8ad520ee992fef2a7f4867a8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Mon, 19 Feb 2018 19:15:59 +0000 Subject: [PATCH] Ajouter 'linux/MesAdmins.sls' --- linux/MesAdmins.sls | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 linux/MesAdmins.sls diff --git a/linux/MesAdmins.sls b/linux/MesAdmins.sls new file mode 100644 index 0000000..3fbc0f1 --- /dev/null +++ b/linux/MesAdmins.sls @@ -0,0 +1,14 @@ +Mise en place d'un administrateur universel: + user.present: + - name: {{ pillar['superadmusr'] }} + - fullname: {{ pillar['superadmfn'] }} + - shell: /bin/bash + - home: /home/{{ pillar['superadmusr'] }} + - createhome: True + - password: {{ pillar['superadmpwd'] }} + - hash_password: True + - uid: 9876 + - gid_from_name: True + - optional_groups: + - wheel + - sudo \ No newline at end of file