mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Add no_log to all network module_utils provider argument (#22566)
The provider argument on the network modules argspec can contain credentials. Make sure we don't log it. Fixes #21892
This commit is contained in:
parent
b15ceee6bd
commit
2553a37da5
5 changed files with 5 additions and 5 deletions
|
@ -40,7 +40,7 @@ ios_argument_spec = {
|
|||
'authorize': dict(fallback=(env_fallback, ['ANSIBLE_NET_AUTHORIZE']), type='bool'),
|
||||
'auth_pass': dict(fallback=(env_fallback, ['ANSIBLE_NET_AUTH_PASS']), no_log=True),
|
||||
'timeout': dict(type='int'),
|
||||
'provider': dict(type='dict'),
|
||||
'provider': dict(type='dict', no_log=True),
|
||||
}
|
||||
|
||||
def check_args(module, warnings):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue