Files
ansible-playbooks/roles/disks/tasks/main.yml
T
Clément Désiles 8756eb1183 feat(monitoring): add smartctl, fail2ban, wireguard exporters and dashboards
- smartctl_exporter (disks), fail2ban exporter, wireguard exporter
- grafana dashboards for each exporter
- prometheus: firewall source rules, honor_labels/params scrape config
- node_exporter: zfs collector
- wireguard: nftables dep, resolvconf wrapper, reload fix
- remove superseded monitoring role
2026-09-08 23:03:34 +02:00

12 lines
377 B
YAML

---
- name: Ensure disks are formatted correctly
ansible.builtin.include_tasks: partitioning.yml
loop: "{{ disk_partitioning | default([]) }}"
- name: Enable trim SSD if there is at least one
ansible.builtin.include_tasks: trim-ssd.yml
- name: Deploy Prometheus S.M.A.R.T. exporter
ansible.builtin.include_tasks: exporter.yml
when: smartctl_exporter_enabled | bool