More groups
This commit is contained in:
@@ -11,6 +11,7 @@ AnaisUser:
|
||||
# - password: Monpremiermotdepasse
|
||||
- empty_password: True
|
||||
- optional_groups:
|
||||
- vboxusers
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
- sudo
|
||||
{% if grains['os']== "Ubuntu" %}
|
||||
|
||||
25
Users/aristide.sls
Normal file
25
Users/aristide.sls
Normal file
@@ -0,0 +1,25 @@
|
||||
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 %}
|
||||
@@ -6,6 +6,7 @@ IwanUser:
|
||||
- name: iwan
|
||||
- fullname: Iwan CLEMENT
|
||||
- optional_groups:
|
||||
- vboxusers
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
- sudo
|
||||
{% if grains['os']== "Ubuntu" %}
|
||||
|
||||
Reference in New Issue
Block a user