conf change for zabbix client

This commit is contained in:
tolerryan
2024-12-17 23:39:12 -06:00
parent 46bdc5d90d
commit c2cac7e93a

View File

@@ -22,4 +22,12 @@
- name: Enable zabbix-agent2 to start on boot
systemd:
name: zabbix-agent2
enabled: yes
enabled: yes
- name: Update zabbix-agent2.conf
ansible.builtin.lineinfile:
path: /etc/zabbix/zabbix-agent2.conf
regexp: '^Server=.*'
line: 'Server=192.168.0.59'
state: present
backup: yes