#jinja2: lstrip_blocks: True {{ wazuh_manager_ip }} {% if wazuh_profile is defined %} {{ wazuh_profile }} {% endif %} udp no yes yes yes yes yes yes yes yes 43200 /var/ossec/etc/shared/rootkit_files.txt /var/ossec/etc/shared/rootkit_trojans.txt /var/ossec/etc/shared/system_audit_rcl.txt /var/ossec/etc/shared/system_audit_ssh.txt {% if cis_distribution_filename is defined %} /var/ossec/etc/shared/{{ cis_distribution_filename }} {% endif %} yes {{ wazuh_agent_config.frequency_check }} {{ wazuh_agent_config.syscheck_scan_on_start }} {% for directory in wazuh_agent_config.directories %} {{ directory.dirs }} {% endfor %} {% for ignore_file in wazuh_agent_config.ignore_files %} {{ ignore_file }} {% endfor %} {% for no_diff in wazuh_agent_config.no_diff %} {{ no_diff }} {% endfor %} {% for localfile in wazuh_agent_config.localfiles %} {{ localfile.format }} {% if localfile.format == 'command' or localfile.format == 'full_command' %} {{ localfile.command }} {{ localfile.frequency }} {% else %} {{ localfile.location }} {% endif %} {% endfor %} {% if ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial' %} 1800 1d yes xccdf_org.ssgproject.content_profile_common {% elif ansible_distribution == 'CentOS' %} 1800 1d yes {% if ansible_distribution_major_version == '7' %} {% elif ansible_distribution_major_version == '6' %} {% endif %} xccdf_org.ssgproject.content_profile_pci-dss xccdf_org.ssgproject.content_profile_common {% elif ansible_distribution == 'RedHat' %} 1800 1d yes {% if ansible_distribution_major_version == '7' %} {% elif ansible_distribution_major_version == '6' %} {% endif %} xccdf_org.ssgproject.content_profile_pci-dss xccdf_org.ssgproject.content_profile_common {% elif ansible_distribution == 'Fedora' %} yes 1800 1d yes xccdf_org.ssgproject.content_profile_pci-dss xccdf_org.ssgproject.content_profile_common {% endif %}