Recopie initiale

This commit is contained in:
Iwan Clement
2018-05-21 13:03:35 +02:00
commit 3f39bfa01d
319 changed files with 1543 additions and 0 deletions

16
linux/MesAdmins.sls Normal file
View File

@@ -0,0 +1,16 @@
{% if grains['virtual'] == 'LXC' %}
Mise en place d'un administrateur de containeur:
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: False
- optional_groups:
- wheel
- sudo
{% endif %}