mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07: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
|
device. This argument accepts a stringv value and is mutually
|
||||||
exclusive with the C(users) argument.
|
exclusive with the C(users) argument.
|
||||||
Please note that this option is not same as C(provider username).
|
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:
|
update_password:
|
||||||
description:
|
description:
|
||||||
- Since passwords are encrypted in the device running config, this
|
- Since passwords are encrypted in the device running config, this
|
||||||
|
@ -114,6 +120,13 @@ EXAMPLES = """
|
||||||
- username: netend
|
- username: netend
|
||||||
privilege: 15
|
privilege: 15
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: Change Password for User netop
|
||||||
|
eos_user:
|
||||||
|
username: netop
|
||||||
|
password: "{{ new_password }}"
|
||||||
|
update_password: always
|
||||||
|
state: present
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue