Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
649 B

ListenPort={{ zabbix_server_port }}
DBHost={{ zabbix_server_db_server }}
DBName={{ zabbix_server_db_name }}
DBUser={{ zabbix_server_db_user }}
DBPassword={{ zabbix_server_db_pass }}
{% if zabbix_server_db_server == 'localhost' %}
DBSocket=/var/lib/mysql/mysql.sock
{% else %}
DBPort={{ zabbix_server_db_port }}
{% endif %}
{% for key in zabbix_server_conf.keys() | list %}
{{ key }}={{zabbix_server_conf[key] }}
{% endfor %}
{% if ansible_all_ipv6_addresses | length < 1 %}
# This is a hack as when IPv6 is disabled
# Zabbix Server fails to detect minimum interval
# and don't send any pings, even in IPv4
Fping6Location=/usr/sbin/fping
{% endif %}