mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
New module: platform agnostic way to manage local users on network devices (network/net_user.) (#25259)
* Add net_user platform agnostic module Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Integration test for net_user Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * modify eos_user module to support name param as alias to username Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * Test collection of users Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
15104acc00
commit
f6a4803669
19 changed files with 334 additions and 13 deletions
|
@ -42,7 +42,7 @@ _DEVICE_CONNECTION = None
|
|||
eos_argument_spec = {
|
||||
'host': dict(),
|
||||
'port': dict(type='int'),
|
||||
'username': dict(fallback=(env_fallback, ['ANSIBLE_NET_USERNAME'])),
|
||||
'username': dict(fallback=(env_fallback, ['ANSIBLE_NET_USERNAME']), aliases=['name']),
|
||||
'password': dict(fallback=(env_fallback, ['ANSIBLE_NET_PASSWORD']), no_log=True),
|
||||
'ssh_keyfile': dict(fallback=(env_fallback, ['ANSIBLE_NET_SSH_KEYFILE']), type='path'),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue