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

@ -42,7 +42,7 @@ NET_TRANSPORT_ARGS = dict(
authorize=dict(default=False, fallback=(env_fallback, ['ANSIBLE_NET_AUTHORIZE']), type='bool'),
auth_pass=dict(no_log=True, fallback=(env_fallback, ['ANSIBLE_NET_AUTH_PASS'])),
provider=dict(type='dict'),
provider=dict(type='dict', no_log=True),
transport=dict(choices=list()),
timeout=dict(default=10, type='int')