diff --git a/windows/win_user b/windows/win_user index c161f8f04fd..e2da6a1ddb8 100644 --- a/windows/win_user +++ b/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 '''