Ansible-ZabbixAgent/roles/zabbixAgent/templates/ansibleZabbixAgent.conf.j2

25 lines
797 B
Text
Raw Normal View History

2024-11-24 16:59:28 -07:00
{% if zabbixAgent_conf_server != '' %}
Server={{ zabbixAgent_conf_server }}
{% endif %}
{% if zabbixAgent_conf_listen_port != '' %}
ListenPort={{ zabbixAgent_conf_listen_port }}
{% endif %}
{% if zabbixAgent_conf_server_active != '' %}
ServerActive={{ zabbixAgent_conf_server_active }}
{% endif %}
{% if zabbixAgent_conf_hostname != '' %}
Hostname={{ zabbixAgent_conf_hostname }}
{% endif %}
{% if zabbixAgent_conf_tls_connect != '' %}
TLSConnect={{ zabbixAgent_conf_tls_connect }}
{% endif %}
{% if zabbixAgent_conf_tls_accept != '' %}
TLSAccept={{ zabbixAgent_conf_tls_accept }}
{% endif %}
{% if zabbixAgent_conf_psk_file != '' %}
TLSPSKFile={{ zabbixAgent_conf_psk_file }}
{% endif %}
{% if zabbixAgent_conf_psk_identity != '' %}
TLSPSKIdentity={{ zabbixAgent_conf_psk_identity }}
{% endif %}