mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user