diff --git a/playbooks/00_install_zabbix_agent.yml b/playbooks/00_install_zabbix_agent.yml index 4022049..a431a29 100644 --- a/playbooks/00_install_zabbix_agent.yml +++ b/playbooks/00_install_zabbix_agent.yml @@ -83,7 +83,7 @@ path: "{{ zabbix_agent_cfg }}" regexp: "^Server=.*" insertafter: '^# Server=' - line: "Server=192.168.77.0/24" + line: "Server=192.168.77.0/24,192.168.80.0/28" become: "{{ false if inventory_hostname == 'nas.home.lan' else true }}" - name: Reconfigure zabbix agent ServerActive