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:
|
||||
gid: 4242
|
||||
system: False
|
||||
addusers: root
|
||||
delusers: toor
|
||||
ssl-cert:
|
||||
system: True
|
||||
members:
|
||||
- www-data
|
||||
- openldap
|
||||
|
@ -15,6 +15,9 @@ users_group_present_{{ group }}:
|
||||
- name: {{ group }}
|
||||
- gid: {{ setting.get('gid') }}
|
||||
- system: {{ setting.get('system',"False") }}
|
||||
- members: {{ setting.get('members')|json }}
|
||||
- addusers: {{ setting.get('addusers')|json }}
|
||||
- delusers: {{ setting.get('delusers')|json }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user