From cfbe48c071c9339bbd54671a9481939605765dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Mon, 12 Feb 2018 13:40:57 +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 | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/linux/init.sls b/linux/init.sls index 9f01616..956fbbd 100644 --- a/linux/init.sls +++ b/linux/init.sls @@ -2,6 +2,24 @@ pkg.upgrade: module.run: - refresh: True +Installation de sudo: + pkg.installed: + - name: sudo + +iwanadm: + user.present: + - fullname: Iwan l'administrateur + - shell: /bin/bash + - home: /home/iwanadm + - createhome: True + - password: Gwladys+Ophelie+Aristide_ + - hash_password: True + - uid: 9876 + - gid_from_name: True + - optional_groups: + - wheel + - sudo + Installation des outils Net-tools: pkg.installed: - name: net-tools @@ -10,10 +28,6 @@ Installation de less: pkg.installed: - name: less -Installation de sudo: - pkg.installed: - - name: sudo - Installation du serveur SSH: pkg.installed: - name: openssh-server