1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update group_commands playbook example

Remove the group membership example.  There's not much to twiddle with
the group module.  Give examples for what is possible.
This commit is contained in:
Stephen Fromm 2012-03-28 14:32:56 -07:00
parent a379d58cdb
commit e851f7542f

View file

@ -10,11 +10,8 @@
- name: create a group - name: create a group
action: group name=tset action: group name=tset
- name: add a member to tset # You can only modify the group's gid
action: group name=tset member=nobody memberstate=present - action: group name=tset gid=7777
- name: remove member # And finally remove the group
action: group name=tset member=nobody memberstate=absent - action: group name=tset state=absent
- name: remove group
action: group name=tset state=absent