upt playbook

This commit is contained in:
jaydee 2023-10-26 13:21:15 +02:00
parent 09041228f9
commit 0c20102465

View File

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