Update documentation
This commit is contained in:
parent
6dd9434707
commit
08dc72b5e7
1 changed files with 5 additions and 2 deletions
|
@ -37,7 +37,7 @@ options:
|
||||||
aliases: []
|
aliases: []
|
||||||
password:
|
password:
|
||||||
description:
|
description:
|
||||||
- Password for the user
|
- Password for the user (plain text)
|
||||||
required: true
|
required: true
|
||||||
default: null
|
default: null
|
||||||
aliases: []
|
aliases: []
|
||||||
|
@ -54,6 +54,10 @@ author: Paul Durivage
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
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
|
# Playbook example
|
||||||
---
|
---
|
||||||
- name: Add a user
|
- name: Add a user
|
||||||
|
@ -64,5 +68,4 @@ EXAMPLES = '''
|
||||||
win_user:
|
win_user:
|
||||||
name: ansible
|
name: ansible
|
||||||
password: "@ns1bl3"
|
password: "@ns1bl3"
|
||||||
state: present
|
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue