paulbsd-salt/states/zabbix/templates/zabbix_agent2.conf.j2
Paul 94fa012ab0
All checks were successful
continuous-integration/drone/push Build is passing
updated zabbix state
2025-06-05 14:57:00 +02:00

10 lines
308 B
Django/Jinja

{%- from "zabbix/map.jinja" import zabbix with context -%}
{%- for key, value in zabbix.agent2.config.items() -%}
{%- if value is sequence and value is not mapping and value is not string -%}
{%- for v in value %}
{{ key }}={{ v }}
{%- endfor -%}
{%- else %}
{{ key }}={{ value }}
{%- endif %}
{%- endfor -%}