Update documentation
This commit is contained in:
parent
ce0909035b
commit
42834963cc
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue