1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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 = """