Création du fichier
This commit is contained in:
10
Users/iwan.sls
Normal file
10
Users/iwan.sls
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
IwanDocker:
|
||||||
|
user.present:
|
||||||
|
- name: iwan
|
||||||
|
- fullname: Iwan CLEMENT
|
||||||
|
- groups:
|
||||||
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
|
- sudo
|
||||||
|
{% elif grains['os_family'] == 'RedHat' %}
|
||||||
|
- wheel
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user