From 6a6ade830ef51f16478a198108fe237dc1eb59a2 Mon Sep 17 00:00:00 2001 From: Jonathan Davila Date: Fri, 11 Apr 2014 11:14:40 -0400 Subject: [PATCH] Added example demonstrating other functionality --- library/system/user | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/system/user b/library/system/user index 12b1a62d270..d33244dba54 100644 --- a/library/system/user +++ b/library/system/user @@ -181,6 +181,9 @@ EXAMPLES = ''' # Add the user 'johnd' with a specific uid and a primary group of 'admin' - user: name=johnd comment="John Doe" uid=1040 +# Add the user 'james' with a bash shell, appending the group 'admins' and 'developers' to the user's groups +- user: name=james shell=/bin/bash groups=admins,developers append=yes + # Remove the user 'johnd' - user: name=johnd state=absent remove=yes