From a90aa46ed23db35b5f4829f5358340d6dbc13251 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 --- system/user | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/user b/system/user index 12b1a62d270..d33244dba54 100644 --- a/system/user +++ b/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