From 60fd87c5673ee56d3e03738e97c3359e31a9e6ae Mon Sep 17 00:00:00 2001
From: Austin <austinwlane@gmail.com>
Date: Mon, 31 Jan 2022 13:09:31 -0500
Subject: [PATCH] Fixes `no_log` warning for `ipahost` module

Similar to PR 286
This PR explicitly sets `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/ipahost.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/modules/ipahost.py b/plugins/modules/ipahost.py
index e4832583..453200e6 100644
--- a/plugins/modules/ipahost.py
+++ b/plugins/modules/ipahost.py
@@ -709,7 +709,7 @@ def main():
                        elements='dict', required=False),
 
             # mod
-            update_password=dict(type='str', default=None,
+            update_password=dict(type='str', default=None, no_log=False,
                                  choices=['always', 'on_create']),
 
             # general
-- 
GitLab