added new zabbix role

This commit is contained in:
DerLinkman
2026-05-24 00:25:01 +02:00
parent cef71dcd1b
commit 6ede4604e1
14 changed files with 194 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
---
- 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."