mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 06:31:23 -07:00
roll up of fixes for vyos base (#21616)
* adds ssh_keyfile to vyos * fixes play_context mapping to provider * adds missing network_os to play_context * executes close_shell() after module completes
This commit is contained in:
parent
e6dfbf63f6
commit
c875393916
2 changed files with 25 additions and 6 deletions
|
@ -34,11 +34,13 @@ _DEVICE_CONFIGS = {}
|
|||
vyos_argument_spec = {
|
||||
'host': dict(),
|
||||
'port': dict(type='int'),
|
||||
|
||||
'username': dict(fallback=(env_fallback, ['ANSIBLE_NET_USERNAME'])),
|
||||
'password': dict(fallback=(env_fallback, ['ANSIBLE_NET_PASSWORD']), no_log=True),
|
||||
'ssh_keyfile': dict(fallback=(env_fallback, ['ANSIBLE_NET_SSH_KEYFILE']), type='path'),
|
||||
'timeout': dict(type='int', default=10),
|
||||
'provider': dict(type='dict'),
|
||||
|
||||
'timeout': dict(type='int'),
|
||||
'provider': dict(type='dict', no_log=True),
|
||||
}
|
||||
|
||||
def check_args(module, warnings):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue