From 0c201024653791ce08d89c95fbfe9bfdb192b5f3 Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 26 Oct 2023 13:21:15 +0200 Subject: [PATCH] upt playbook --- playbooks/00_install_zabbix_agent.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/playbooks/00_install_zabbix_agent.yml b/playbooks/00_install_zabbix_agent.yml index f36d335..e12001e 100644 --- a/playbooks/00_install_zabbix_agent.yml +++ b/playbooks/00_install_zabbix_agent.yml @@ -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"