add url_password to 'cleanse' list

(cherry picked from commit 2f1ab29855)
This commit is contained in:
Brian Coca 2017-02-09 08:53:04 -05:00
parent 36d8612ac0
commit 2546e8b4e5

View file

@ -1627,7 +1627,7 @@ class AnsibleModule(object):
# TODO: generalize a separate log function and make log_invocation use it # TODO: generalize a separate log function and make log_invocation use it
# Sanitize possible password argument when logging. # Sanitize possible password argument when logging.
log_args = dict() log_args = dict()
passwd_keys = ['password', 'login_password'] passwd_keys = ['password', 'login_password', 'url_password']
for param in self.params: for param in self.params:
canon = self.aliases.get(param, param) canon = self.aliases.get(param, param)