Do not leak various passwords in log (#5202)
This commit is contained in:
parent
8b7898e4ab
commit
996ccca82f
1 changed files with 2 additions and 2 deletions
|
@ -519,11 +519,11 @@ def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
login_user=dict(default="postgres"),
|
login_user=dict(default="postgres"),
|
||||||
login_password=dict(default=""),
|
login_password=dict(default="", no_log=True),
|
||||||
login_host=dict(default=""),
|
login_host=dict(default=""),
|
||||||
login_unix_socket=dict(default=""),
|
login_unix_socket=dict(default=""),
|
||||||
user=dict(required=True, aliases=['name']),
|
user=dict(required=True, aliases=['name']),
|
||||||
password=dict(default=None),
|
password=dict(default=None, no_log=True),
|
||||||
state=dict(default="present", choices=["absent", "present"]),
|
state=dict(default="present", choices=["absent", "present"]),
|
||||||
priv=dict(default=None),
|
priv=dict(default=None),
|
||||||
db=dict(default=''),
|
db=dict(default=''),
|
||||||
|
|
Loading…
Reference in a new issue