Mark a few parameters as no_log
This commit is contained in:
parent
024b8365c2
commit
80b3bbd55e
1 changed files with 4 additions and 3 deletions
|
@ -2044,7 +2044,7 @@ def main():
|
||||||
comment=dict(default=None, type='str'),
|
comment=dict(default=None, type='str'),
|
||||||
home=dict(default=None, type='str'),
|
home=dict(default=None, type='str'),
|
||||||
shell=dict(default=None, type='str'),
|
shell=dict(default=None, type='str'),
|
||||||
password=dict(default=None, type='str'),
|
password=dict(default=None, type='str', no_log=True),
|
||||||
login_class=dict(default=None, type='str'),
|
login_class=dict(default=None, type='str'),
|
||||||
# following options are specific to userdel
|
# following options are specific to userdel
|
||||||
force=dict(default='no', type='bool'),
|
force=dict(default='no', type='bool'),
|
||||||
|
@ -2062,7 +2062,7 @@ def main():
|
||||||
ssh_key_type=dict(default=ssh_defaults['type'], type='str'),
|
ssh_key_type=dict(default=ssh_defaults['type'], type='str'),
|
||||||
ssh_key_file=dict(default=None, type='str'),
|
ssh_key_file=dict(default=None, type='str'),
|
||||||
ssh_key_comment=dict(default=ssh_defaults['comment'], type='str'),
|
ssh_key_comment=dict(default=ssh_defaults['comment'], type='str'),
|
||||||
ssh_key_passphrase=dict(default=None, type='str'),
|
ssh_key_passphrase=dict(default=None, type='str', no_log=True),
|
||||||
update_password=dict(default='always',choices=['always','on_create'],type='str'),
|
update_password=dict(default='always',choices=['always','on_create'],type='str'),
|
||||||
expires=dict(default=None, type='float'),
|
expires=dict(default=None, type='float'),
|
||||||
),
|
),
|
||||||
|
@ -2160,4 +2160,5 @@ def main():
|
||||||
|
|
||||||
# import module snippets
|
# import module snippets
|
||||||
from ansible.module_utils.basic import *
|
from ansible.module_utils.basic import *
|
||||||
main()
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
|
|
Loading…
Reference in a new issue