From 2f1ab2985510a1c07482d3865dde45234549bb91 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 9 Feb 2017 08:53:04 -0500 Subject: [PATCH] add url_password to 'cleanse' list --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 82f5bfb64bb..5c94dc7a434 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -1804,7 +1804,7 @@ class AnsibleModule(object): # TODO: generalize a separate log function and make log_invocation use it # Sanitize possible password argument when logging. log_args = dict() - passwd_keys = ['password', 'login_password'] + passwd_keys = ['password', 'login_password', 'url_password'] for param in self.params: canon = self.aliases.get(param, param)