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

@ -38,7 +38,7 @@ junos_argument_spec = {
'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'),
'provider': dict(type='dict', no_log=True),
'transport': dict()
}