group: add support for members
members, addusers, delusers, and in pillar examples
This commit is contained in:
parent
b69bef3cd1
commit
def8f53932
|
@ -176,3 +176,10 @@ groups:
|
||||||
niceguys:
|
niceguys:
|
||||||
gid: 4242
|
gid: 4242
|
||||||
system: False
|
system: False
|
||||||
|
addusers: root
|
||||||
|
delusers: toor
|
||||||
|
ssl-cert:
|
||||||
|
system: True
|
||||||
|
members:
|
||||||
|
- www-data
|
||||||
|
- openldap
|
||||||
|
|
|
@ -15,6 +15,9 @@ users_group_present_{{ group }}:
|
||||||
- name: {{ group }}
|
- name: {{ group }}
|
||||||
- gid: {{ setting.get('gid') }}
|
- gid: {{ setting.get('gid') }}
|
||||||
- system: {{ setting.get('system',"False") }}
|
- system: {{ setting.get('system',"False") }}
|
||||||
|
- members: {{ setting.get('members')|json }}
|
||||||
|
- addusers: {{ setting.get('addusers')|json }}
|
||||||
|
- delusers: {{ setting.get('delusers')|json }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue