mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2022-01-24 12:00
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
{% for key in zabbix_agent_conf.keys() | list %}
|
||||
{% if zabbix_agent2 and key in ['StartAgents'] %}
|
||||
# Ignoring directive {{ key }}={{ zabbix_agent_conf[key] }} as it's not supported in agent2
|
||||
{% else %}
|
||||
{% if not zabbix_agent_conf[key] is string and zabbix_agent_conf[key] is iterable %}
|
||||
{% for x in zabbix_agent_conf[key] %}
|
||||
{{ key }}={{ x }}
|
||||
@@ -6,4 +9,5 @@
|
||||
{% else %}
|
||||
{{ key }}={{ zabbix_agent_conf[key] }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user