From f7d310f19b3b64f81b8b293bcdd36143e0b6a72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Mon, 19 Feb 2018 19:17:06 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'linux/init.sls'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux/init.sls | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/linux/init.sls b/linux/init.sls index d935884..b05f98f 100644 --- a/linux/init.sls +++ b/linux/init.sls @@ -5,20 +5,8 @@ pkg.upgrade: include: - linux.MesPaquets -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 +include: + - linux.MesAdmins {% if grains['oscodename'] == 'stretch' %} {% if grains['virtual'] == 'LXC' %}