Files
states/Users/aristide.sls
Iwan Clément 99a53316b3 More groups
2018-12-30 10:57:30 +01:00

25 lines
533 B
Plaintext

include:
- softwares.sudo
AristideUser:
user.present:
- name: aristide
- fullname: Aristide Clement
- uid: 4629
- shell: /bin/bash
# - hash_password: True
# - password: Monpremiermotdepasse
- empty_password: True
- optional_groups:
- vboxusers
{% if grains['os_family'] == 'Debian' %}
{% if grains['os']== "Ubuntu" %}
- cdrom
- dip
- plugdev
- sambashare
{% endif %}
{% elif grains['os_family'] == 'RedHat' %}
- wheel
- printadmin
{% endif %}