Ansible-Roles/roles/zabbix-agent2/templates/zabbix_agent.aliases.conf.j2
2026-05-08 22:12:36 +03:00

12 lines
392 B
Django/Jinja

{{ ansible_managed | comment }}
# Aliases:
{% if agent_param_alias is defined and agent_param_alias is iterable and agent_param_alias is not string and agent_param_alias is not mapping %}
{% for unit in agent_param_alias %}
Alias={{ unit }}
{% endfor %}
{% elif agent_param_alias is defined and agent_param_alias and agent_param_alias is string %}
Alias={{ agent_param_alias }}
{% endif %}