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:
parent
a379d58cdb
commit
e851f7542f
1 changed files with 4 additions and 7 deletions
|
@ -10,11 +10,8 @@
|
|||
- name: create a group
|
||||
action: group name=tset
|
||||
|
||||
- name: add a member to tset
|
||||
action: group name=tset member=nobody memberstate=present
|
||||
# You can only modify the group's gid
|
||||
- action: group name=tset gid=7777
|
||||
|
||||
- name: remove member
|
||||
action: group name=tset member=nobody memberstate=absent
|
||||
|
||||
- name: remove group
|
||||
action: group name=tset state=absent
|
||||
# And finally remove the group
|
||||
- action: group name=tset state=absent
|
||||
|
|
Loading…
Reference in a new issue