From 3bdd6793ca5d111ced1039a0af34c02bb66ba50b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 13 Sep 2015 19:48:37 +0200 Subject: [PATCH] Add no-log parameter to common openstack args These bad boys can contain secret data, so should be marked no-log. --- lib/ansible/module_utils/openstack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/openstack.py b/lib/ansible/module_utils/openstack.py index 40694491443..934d51a271c 100644 --- a/lib/ansible/module_utils/openstack.py +++ b/lib/ansible/module_utils/openstack.py @@ -74,13 +74,13 @@ def openstack_full_argument_spec(**kwargs): spec = dict( cloud=dict(default=None), auth_type=dict(default=None), - auth=dict(default=None), + auth=dict(default=None, no_log=True), region_name=dict(default=None), availability_zone=dict(default=None), verify=dict(default=True, aliases=['validate_certs']), cacert=dict(default=None), cert=dict(default=None), - key=dict(default=None), + key=dict(default=None, no_log=True), wait=dict(default=True, type='bool'), timeout=dict(default=180, type='int'), api_timeout=dict(default=None, type='int'),