Do not leak the password in log (#5189)

This commit is contained in:
Michael Scherer 2016-10-13 22:34:23 +02:00 committed by Matt Clay
parent 18b0920311
commit 5e1dfa9485

View file

@ -537,7 +537,7 @@ def main():
port=dict(type='int', default=5432), port=dict(type='int', default=5432),
unix_socket=dict(default='', aliases=['login_unix_socket']), unix_socket=dict(default='', aliases=['login_unix_socket']),
login=dict(default='postgres', aliases=['login_user']), login=dict(default='postgres', aliases=['login_user']),
password=dict(default='', aliases=['login_password']) password=dict(default='', aliases=['login_password'], no_log=True)
), ),
supports_check_mode = True supports_check_mode = True
) )