PidFile=/var/run/zabbix/zabbix_agentd.pid Server={{ zabbix_agent_servers | join(',') }} ServerActive= HostnameItem=system.hostname Timeout=30 LogType=system Include=/etc/zabbix/zabbix_agentd.conf.d/*.conf {% if zabbix_agent_encryption == "psk" %} TLSPSKFile=/etc/zabbix/zabbix_agentd.psk TLSPSKIdentity={{ inventory_hostname }}-agent TLSConnect=psk TLSAccept=unencrypted,psk {% endif %}