conf change for zabbix client
This commit is contained in:
@@ -22,4 +22,12 @@
|
|||||||
- name: Enable zabbix-agent2 to start on boot
|
- name: Enable zabbix-agent2 to start on boot
|
||||||
systemd:
|
systemd:
|
||||||
name: zabbix-agent2
|
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
|
||||||
Reference in New Issue
Block a user