wazuh-ansible-4.8.1/roles/wazuh/ansible-wazuh-manager/templates/preloaded_vars_api.conf.j2

7 lines
231 B
Django/Jinja

{% for key, value in wazuh_api_sources_installation.items() %}
{% if "enabled" not in key and "branch" not in key %}
{% if value is defined and value is not none %}
{{ key|upper }}="{{ value }}"
{% endif %}
{% endif %}
{% endfor %}