diff --git a/plugins/modules/zabbix_action.py b/plugins/modules/zabbix_action.py index b6dc7d2f1..b3a35db5b 100644 --- a/plugins/modules/zabbix_action.py +++ b/plugins/modules/zabbix_action.py @@ -1776,7 +1776,7 @@ def main(): required=False, choices=['agent', 'server', 'proxy'] ), - password=dict(type='str', required=False), + password=dict(type='str', required=False, no_log=True), port=dict(type='int', required=False), run_on_groups=dict(type='list', required=False), run_on_hosts=dict(type='list', required=False), @@ -1849,7 +1849,7 @@ def main(): required=False, choices=['agent', 'server', 'proxy'] ), - password=dict(type='str', required=False), + password=dict(type='str', required=False, no_log=True), port=dict(type='int', required=False), run_on_groups=dict(type='list', required=False), run_on_hosts=dict(type='list', required=False), @@ -1918,7 +1918,7 @@ def main(): required=False, choices=['agent', 'server', 'proxy'] ), - password=dict(type='str', required=False), + password=dict(type='str', required=False, no_log=True), port=dict(type='int', required=False), run_on_groups=dict(type='list', required=False), run_on_hosts=dict(type='list', required=False), diff --git a/plugins/modules/zabbix_discovery_rule.py b/plugins/modules/zabbix_discovery_rule.py index a8f13508b..2375e6f2d 100644 --- a/plugins/modules/zabbix_discovery_rule.py +++ b/plugins/modules/zabbix_discovery_rule.py @@ -586,12 +586,12 @@ def main(): 'Telnet'] ), ports=dict(type='str'), - key=dict(type='str'), + key=dict(type='str', no_log=False), snmp_community=dict(type='str'), - snmpv3_authpassphrase=dict(type='str'), + snmpv3_authpassphrase=dict(type='str', no_log=True), snmpv3_authprotocol=dict(type='str', choices=['MD5', 'SHA']), snmpv3_contextname=dict(type='str'), - snmpv3_privpassphrase=dict(type='str'), + snmpv3_privpassphrase=dict(type='str', no_log=True), snmpv3_privprotocol=dict(type='str', choices=['DES', 'AES']), snmpv3_securitylevel=dict(type='str', choices=['noAuthNoPriv', 'authNoPriv', 'authPriv']), snmpv3_securityname=dict(type='str'), diff --git a/plugins/modules/zabbix_host.py b/plugins/modules/zabbix_host.py index 82e14cc4b..d360ccd07 100644 --- a/plugins/modules/zabbix_host.py +++ b/plugins/modules/zabbix_host.py @@ -972,9 +972,9 @@ def main(): contextname=dict(type='str', default=''), securitylevel=dict(type='int', choices=[0, 1, 2], default=0), authprotocol=dict(type='int', choices=[0, 1], default=0), - authpassphrase=dict(type='str', default=''), + authpassphrase=dict(type='str', default='', no_log=True), privprotocol=dict(type='int', choices=[0, 1], default=0), - privpassphrase=dict(type='str', default='') + privpassphrase=dict(type='str', default='', no_log=True) ) ) ),