From 9d87bc8a465f483d7bd67ccf88c3f352df4aa022 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 12 Nov 2020 11:00:07 +0100 Subject: [PATCH] Update to 2020-11-12 11:00 --- roles/zabbix_agent/templates/zabbix_agentd.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/zabbix_agent/templates/zabbix_agentd.conf.j2 b/roles/zabbix_agent/templates/zabbix_agentd.conf.j2 index d4e5938..d4d4157 100644 --- a/roles/zabbix_agent/templates/zabbix_agentd.conf.j2 +++ b/roles/zabbix_agent/templates/zabbix_agentd.conf.j2 @@ -1,3 +1,9 @@ {% 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] }} +{% endif %} {% endfor %}