mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -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
|
@ -298,13 +298,13 @@ def main():
|
|||
""" main entry point for module execution
|
||||
"""
|
||||
argument_spec = dict(
|
||||
users=dict(type='list', no_log=True),
|
||||
users=dict(type='list', no_log=True, aliases=['collection']),
|
||||
name=dict(),
|
||||
|
||||
password=dict(no_log=True),
|
||||
update_password=dict(default='always', choices=['on_create', 'always']),
|
||||
|
||||
roles=dict(type='list'),
|
||||
roles=dict(type='list', aliases=['role']),
|
||||
|
||||
sshkey=dict(),
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue