From e851f7542f6f77d32c7e1043efac3c772c1f2816 Mon Sep 17 00:00:00 2001 From: Stephen Fromm Date: Wed, 28 Mar 2012 14:32:56 -0700 Subject: [PATCH] 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. --- examples/playbooks/group_commands.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/examples/playbooks/group_commands.yml b/examples/playbooks/group_commands.yml index 78cb0810309..a555bc50040 100644 --- a/examples/playbooks/group_commands.yml +++ b/examples/playbooks/group_commands.yml @@ -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