eos_user Add documentation and example to change password (#24750)

* Add doc for password

* Add example to change user password

* Add dot at the end of the doc for password

* Add disclaimer in documentation for password

* Correct provider option name in description
This commit is contained in:
Damien 2017-05-24 08:57:50 -07:00 committed by Trishna Guha
parent 0cde9489fb
commit a611449cad

View file

@ -47,6 +47,12 @@ options:
device. This argument accepts a stringv value and is mutually
exclusive with the C(users) argument.
Please note that this option is not same as C(provider username).
password:
description:
- The password to be configured on the remote Arista EOS device. The
password needs to be provided in clear and it will be encrypted
on the device.
Please note that this option is not same as C(provider password).
update_password:
description:
- Since passwords are encrypted in the device running config, this
@ -114,6 +120,13 @@ EXAMPLES = """
- username: netend
privilege: 15
state: present
- name: Change Password for User netop
eos_user:
username: netop
password: "{{ new_password }}"
update_password: always
state: present
"""
RETURN = """