From f4a035a57c9e3090e7488d4f2fb6a34c43dfbe93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Acu=C3=B1a?= Date: Mon, 14 Mar 2022 17:41:23 -0300 Subject: [PATCH] Rootcheck config updated in template --- .../templates/var-ossec-etc-shared-agent.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-shared-agent.conf.j2 b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-shared-agent.conf.j2 index 0de65c57..6ac6b41d 100644 --- a/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-shared-agent.conf.j2 +++ b/roles/wazuh/ansible-wazuh-manager/templates/var-ossec-etc-shared-agent.conf.j2 @@ -93,7 +93,7 @@ {{ agent_config.rootcheck.frequency }} - {% if agent_config.rootcheck.cis_distribution_filename is defined and agent_config.rootcheck.cis_distribution_filename is not null %} + {% if agent_config.rootcheck.cis_distribution_filename is not none %} {{ wazuh_dir }}/etc/shared/default/{{ agent_config.rootcheck.cis_distribution_filename }} {% endif %} yes