mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ipa: Update non-secret fields matching '*pass*' with no_log=False (#1339)
* ipa: Update non-secret fields matching '*pass*' with no_log=False * Add changelog fragment * Update changelogs/fragments/1339-ip-no_log-nonsecret.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
6c94ab7c6b
commit
0a28a0c8b0
3 changed files with 7 additions and 3 deletions
3
changelogs/fragments/1339-ip-no_log-nonsecret.yml
Normal file
3
changelogs/fragments/1339-ip-no_log-nonsecret.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
minor_changes:
|
||||
- ipa_user - silence warning about non-secret ``krbpasswordexpiration`` and ``update_password`` options not having ``no_log`` set (https://github.com/ansible-collections/community.general/pull/1339).
|
||||
- ipa_host - silence warning about non-secret ``random_password`` option not having ``no_log`` set (https://github.com/ansible-collections/community.general/pull/1339).
|
|
@ -284,7 +284,7 @@ def main():
|
|||
mac_address=dict(type='list', aliases=['macaddress'], elements='str'),
|
||||
update_dns=dict(type='bool'),
|
||||
state=dict(type='str', default='present', choices=['present', 'absent', 'enabled', 'disabled']),
|
||||
random_password=dict(type='bool'),)
|
||||
random_password=dict(type='bool', no_log=False),)
|
||||
|
||||
module = AnsibleModule(argument_spec=argument_spec,
|
||||
supports_check_mode=True)
|
||||
|
|
|
@ -345,8 +345,9 @@ def main():
|
|||
argument_spec.update(displayname=dict(type='str'),
|
||||
givenname=dict(type='str'),
|
||||
update_password=dict(type='str', default="always",
|
||||
choices=['always', 'on_create']),
|
||||
krbpasswordexpiration=dict(type='str'),
|
||||
choices=['always', 'on_create'],
|
||||
no_log=False),
|
||||
krbpasswordexpiration=dict(type='str', no_log=False),
|
||||
loginshell=dict(type='str'),
|
||||
mail=dict(type='list', elements='str'),
|
||||
sn=dict(type='str'),
|
||||
|
|
Loading…
Reference in a new issue