13 lines
384 B
YAML

- name: config
template:
src: zabbix_agentd.conf.temp
dest: /etc/zabbix/zabbix_agentd.conf
vars:
PidFile: /run/zabbix/zabbix_agentd.pid
LogFile: /var/log/zabbix/zabbix_agentd.log
LogFileSize: 0
Server: 127.0.0.1
ServerActive: 192.168.99.106
Hostname: "{{ ansible_hostname }}"
Include: /etc/zabbix/zabbix_agentd.d/*.conf