From 5b538628712ac3489af52c9220a9c29ed4efc604 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Thu, 28 May 2020 12:28:38 -0300 Subject: [PATCH] Fixes no_log warning for `update_password`. This patch explicitly set `no_log` option for `update_password` attribute to `False`, so that the warning on `no_log` not being set is not issued anymore. Ansible incorrectly issued the warning, as `update_password` does not carry sensitive information. --- plugins/modules/ipauser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ipauser.py b/plugins/modules/ipauser.py index 6c48a2ff..a3dc7f77 100644 --- a/plugins/modules/ipauser.py +++ b/plugins/modules/ipauser.py @@ -817,7 +817,7 @@ def main(): preserve=dict(required=False, type='bool', default=None), # mod - update_password=dict(type='str', default=None, + update_password=dict(type='str', default=None, no_log=False, choices=['always', 'on_create']), # general -- GitLab