Do not leak login_password when using verbose, with no_log

pull/18777/head
Michael Scherer 8 years ago committed by Matt Clay
parent 88e940a3e1
commit 573958bd53

@ -118,7 +118,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
login_user=dict(default="postgres"),
login_password=dict(default=""),
login_password=dict(default="", no_log=True),
login_host=dict(default=""),
port=dict(default="5432"),
db=dict(required=True),

@ -184,7 +184,7 @@ def main():
module = AnsibleModule(
argument_spec=dict(
login_user=dict(default="postgres"),
login_password=dict(default=""),
login_password=dict(default="", no_log=True),
login_host=dict(default=""),
db=dict(required=True),
port=dict(default='5432'),

Loading…
Cancel
Save