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
@@ -0,0 +1,22 @@
---
- name: Install repository prerequisites
ansible.builtin.apt:
name:
- ca-certificates
state: present
update_cache: yes
cache_valid_time: 3600
- name: Download Zabbix release package
ansible.builtin.get_url:
url: "{{ monitoring_zabbix_release_url }}"
dest: "{{ monitoring_zabbix_release_path }}"
mode: '0644'
- name: Install Zabbix release package
ansible.builtin.apt:
deb: "{{ monitoring_zabbix_release_path }}"
- name: Update apt cache after Zabbix repository setup
ansible.builtin.apt:
update_cache: yes