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:
Ricardo Carrillo Cruz 2017-03-13 20:21:46 +01:00 committed by Chris Alfonso
commit 2553a37da5
5 changed files with 5 additions and 5 deletions

View file

@ -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):