diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 5c78cdabdf0..da50475120a 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -1627,7 +1627,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)