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:
parent
0cde9489fb
commit
a611449cad
1 changed files with 13 additions and 0 deletions
|
@ -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 = """
|
||||
|
|
Loading…
Reference in a new issue