Files
states/linux/MesAdmins.sls
2018-02-19 19:15:59 +00:00

14 lines
397 B
Plaintext

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