Files
states/Users/aristide.sls
2018-12-30 11:19:17 +01:00

28 lines
608 B
Plaintext

include:
- softwares.sudo
AristideUser:
user.present:
- name: aristide
- fullname: Aristide Clement
- allow_uid_change: True
- allow_gid_change: True
- uid: 4645
- gid: 4645
- 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 %}