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"