From 07ded9b81e2c316a6df50db258fdb1296595abed Mon Sep 17 00:00:00 2001 From: "Troy W." Date: Sun, 14 Jul 2024 11:39:25 -0400 Subject: [PATCH] Hide Logging on mostmacro API call --- changelogs/fragments/1341.yml | 2 ++ roles/zabbix_agent/tasks/api.yml | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/1341.yml diff --git a/changelogs/fragments/1341.yml b/changelogs/fragments/1341.yml new file mode 100644 index 000000000..3e527e943 --- /dev/null +++ b/changelogs/fragments/1341.yml @@ -0,0 +1,2 @@ +minor_changes: + - zabbix_agent Role - Set `no_log` parameter to hostmacro API call. diff --git a/roles/zabbix_agent/tasks/api.yml b/roles/zabbix_agent/tasks/api.yml index 775c7e89c..5a0db04f7 100644 --- a/roles/zabbix_agent/tasks/api.yml +++ b/roles/zabbix_agent/tasks/api.yml @@ -57,6 +57,7 @@ register: zabbix_api_hostmarcro_created until: zabbix_api_hostmarcro_created is succeeded retries: 10 + no_log: "{{ ansible_verbosity < 3 }}" delegate_to: "{{ zabbix_api_server_host }}" tags: - api