Mark password as 'no_log', to avoid leaking it
This commit is contained in:
parent
b93fda8573
commit
0dd3296ddd
1 changed files with 2 additions and 2 deletions
|
@ -113,14 +113,14 @@ def main():
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
server = dict(default = 'localhost'),
|
server = dict(default = 'localhost'),
|
||||||
port = dict(default = 1883),
|
port = dict(default = 1883, type='int'),
|
||||||
topic = dict(required = True),
|
topic = dict(required = True),
|
||||||
payload = dict(required = True),
|
payload = dict(required = True),
|
||||||
client_id = dict(default = None),
|
client_id = dict(default = None),
|
||||||
qos = dict(default="0", choices=["0", "1", "2"]),
|
qos = dict(default="0", choices=["0", "1", "2"]),
|
||||||
retain = dict(default=False, type='bool'),
|
retain = dict(default=False, type='bool'),
|
||||||
username = dict(default = None),
|
username = dict(default = None),
|
||||||
password = dict(default = None),
|
password = dict(default = None, no_log=True),
|
||||||
),
|
),
|
||||||
supports_check_mode=True
|
supports_check_mode=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue