Add monitoring role and playbook for zabbix agent2 (incl. docker config)

This commit is contained in:
DerLinkman
2026-07-18 00:07:59 +02:00
parent 7455a021ea
commit 39511ed69f
11 changed files with 166 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
- hosts: all
user: admin
become: true
tasks:
- name: Verify if system is Debian
debug:
msg: "This playbook is running on a Debian system."
when: ansible_facts['os_family'] == "Debian"
- name: Stop playbook if system is not Debian
fail:
msg: "This playbook only supports Debian."
when: ansible_facts['os_family'] != "Debian"
- name: Include monitoring role
import_role:
name: monitoring
when: ansible_facts['os_family'] == "Debian"