Update to 2020-11-12 11:00

master
Daniel Berteaud 4 years ago
parent 07dba3a12a
commit 9d87bc8a46
  1. 6
      roles/zabbix_agent/templates/zabbix_agentd.conf.j2

@ -1,3 +1,9 @@
{% for key in zabbix_agent_conf.keys() | list %} {% for key in zabbix_agent_conf.keys() | list %}
{% if not zabbix_agent_conf[key] is string and zabbix_agent_conf[key] is iterable %}
{% for x in zabbix_agent_conf[key] %}
{{ key }}={{ x }}
{% endfor %}
{% else %}
{{ key }}={{ zabbix_agent_conf[key] }} {{ key }}={{ zabbix_agent_conf[key] }}
{% endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save