set no_log to true for password word containing keys

This commit is contained in:
Tomas 2024-02-22 10:21:34 +02:00
parent 59598906fa
commit 16f8844e40

View file

@ -444,8 +444,8 @@ def main():
force_context=dict(type='bool', default=False),
session_vars=dict(type='dict'),
column_case_sensitive=dict(type='bool', default=None), # TODO 4.0.0 add default=True
password_expire=dict(type='str', choices=['now', 'never', 'default', 'interval']),
password_expire_interval=dict(type='int', required_if=[('password_expire', 'interval', True)]),
password_expire=dict(type='str', choices=['now', 'never', 'default', 'interval'], no_log=True),
password_expire_interval=dict(type='int', required_if=[('password_expire', 'interval', True)], no_log=True),
)
module = AnsibleModule(
argument_spec=argument_spec,