--- - name: Stop playbook if system is not Debian ansible.builtin.fail: msg: "This role only supports Debian." when: ansible_facts['os_family'] != "Debian" - name: Ensure Zabbix passive servers are defined ansible.builtin.assert: that: - monitoring_zabbix_passive_servers | length > 0 fail_msg: "Set monitoring_zabbix_passive_servers to the IPs, CIDRs or DNS names allowed to query the agent."