upt playbook

This commit is contained in:
jaydee 2023-10-26 13:20:07 +02:00
parent 7b167e583b
commit 09041228f9

View File

@ -1,4 +1,4 @@
- hosts: odroid_cluster
- hosts: datacenter
name: Install zabbix agent
become: true
tasks:
@ -21,7 +21,8 @@
- name: Reconfigure zabbix agent Server
ansible.builtin.lineinfile:
path: /etc/zabbix/zabbix_agent2.conf
regexp: "^Server=.*"
regexp: "^Server=.*"lacijaydee
insertafter: '^# Server='
line: "Server=192.168.77.106"