Files
states/Users/aristide.sls
Iwan Clément 1bc98216a4 Not admins
2018-12-30 10:59:50 +01:00

25 lines
534 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 %}