This commit is contained in:
Florian Ribeiro 2024-01-18 11:34:02 +01:00
parent 3b88857c0b
commit 5f1b04fd96

View File

@ -34,3 +34,10 @@
- { regexp: '^(ServerActive\s*=\s*).*$', replace: 'ServerActive = 192.168.99.8' }
- { regexp: '^(Hostname\s*=\s*).*$', replace: 'Hostname = {{ ansible_hostname }}' }
- { regexp: '^(Include\s*=\s*).*$', replace: 'Include = /etc/zabbix/zabbix_agentd.d/*.conf' }
- name: Enable Zabbix agent service
service:
name: zabbix-agent
state: restarted
enabled: yes