Mettre à jour 'linux/MesAdmins.sls'
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
Mise en place d'un administrateur universel:
|
{% if grains['virtual'] == 'LXC' %}
|
||||||
user.present:
|
Mise en place d'un administrateur de containeur:
|
||||||
- name: {{ pillar['superadmusr'] }}
|
user.present:
|
||||||
- fullname: {{ pillar['superadmfn'] }}
|
- name: {{ pillar['superadmusr'] }}
|
||||||
- shell: /bin/bash
|
- fullname: {{ pillar['superadmfn'] }}
|
||||||
- home: /home/{{ pillar['superadmusr'] }}
|
- shell: /bin/bash
|
||||||
- createhome: True
|
- home: /home/{{ pillar['superadmusr'] }}
|
||||||
- password: {{ pillar['superadmpwd'] }}
|
- createhome: True
|
||||||
- hash_password: True
|
- password: {{ pillar['superadmpwd'] }}
|
||||||
- uid: 9876
|
- hash_password: True
|
||||||
- gid_from_name: True
|
- uid: 9876
|
||||||
- optional_groups:
|
- gid_from_name: True
|
||||||
- wheel
|
- optional_groups:
|
||||||
- sudo
|
- wheel
|
||||||
|
- sudo
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user