From e1cdc2b210ebe5f881f419cbfe8d68c8c34790e9 Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 7 Feb 2023 22:41:25 +0100 Subject: [PATCH] fix(install): add no_log to sensitive params --- plugins/modules/install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/install.py b/plugins/modules/install.py index 6728d07..857be0c 100644 --- a/plugins/modules/install.py +++ b/plugins/modules/install.py @@ -122,10 +122,10 @@ def run_module(): database_host=dict(required=False, default='localhost', type='str'), database_port=dict(required=False, type='int'), database_user=dict(required=False, type='str'), - database_pass=dict(required=False, type='str'), + database_pass=dict(required=False, type='str', no_log=True), database_table_space=dict(required=False, type='str'), admin_user=dict(required=False, default='admin', type='str'), - admin_pass=dict(required=True, type='str'), + admin_pass=dict(required=True, type='str', no_log=True), admin_email=dict(required=False, type='str'), data_dir=dict(required=False, default='./data', type='str'), webroot=dict(required=False, default='/var/www/html', type='str'),