Add no-log parameter to common openstack args

These bad boys can contain secret data, so should be marked no-log.
This commit is contained in:
Monty Taylor 2015-09-13 19:48:37 +02:00
parent f0efe1ecb0
commit 3bdd6793ca

View file

@ -74,13 +74,13 @@ def openstack_full_argument_spec(**kwargs):
spec = dict( spec = dict(
cloud=dict(default=None), cloud=dict(default=None),
auth_type=dict(default=None), auth_type=dict(default=None),
auth=dict(default=None), auth=dict(default=None, no_log=True),
region_name=dict(default=None), region_name=dict(default=None),
availability_zone=dict(default=None), availability_zone=dict(default=None),
verify=dict(default=True, aliases=['validate_certs']), verify=dict(default=True, aliases=['validate_certs']),
cacert=dict(default=None), cacert=dict(default=None),
cert=dict(default=None), cert=dict(default=None),
key=dict(default=None), key=dict(default=None, no_log=True),
wait=dict(default=True, type='bool'), wait=dict(default=True, type='bool'),
timeout=dict(default=180, type='int'), timeout=dict(default=180, type='int'),
api_timeout=dict(default=None, type='int'), api_timeout=dict(default=None, type='int'),