From 08dc72b5e70800dbad85be9ae12f747853578d4e Mon Sep 17 00:00:00 2001 From: Paul Durivage Date: Thu, 19 Jun 2014 16:40:18 -0500 Subject: [PATCH] Update documentation --- library/windows/win_user | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/windows/win_user b/library/windows/win_user index c161f8f04f..e2da6a1ddb 100644 --- a/library/windows/win_user +++ b/library/windows/win_user @@ -37,7 +37,7 @@ options: aliases: [] password: description: - - Password for the user + - Password for the user (plain text) required: true default: null aliases: [] @@ -54,6 +54,10 @@ author: Paul Durivage ''' EXAMPLES = ''' +# Ad-hoc example +$ ansible -i hosts -m win_user -a "name=bob password=Password12345" all +$ ansible -i hosts -m win_user -a "name=bob password=Password12345 state=absent" all + # Playbook example --- - name: Add a user @@ -64,5 +68,4 @@ EXAMPLES = ''' win_user: name: ansible password: "@ns1bl3" - state: present '''