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 name: Install zabbix agent
become: true become: true
tasks: tasks:
@ -21,8 +21,7 @@
- name: Reconfigure zabbix agent Server - name: Reconfigure zabbix agent Server
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
path: /etc/zabbix/zabbix_agent2.conf path: /etc/zabbix/zabbix_agent2.conf
regexp: "^Server=.*"lacijaydee regexp: "^Server=.*"
insertafter: '^# Server=' insertafter: '^# Server='
line: "Server=192.168.77.106" line: "Server=192.168.77.106"