feat(monitoring): add grafana, prometheus, node_exporter roles

- grafana: postgres backend, provisioning (prometheus datasource + node/NUT dashboards)
- prometheus: native service, scrape config via host_vars, localhost bind
- node_exporter: host metrics exporter (localhost:9100)
This commit is contained in:
Clément Désiles
2026-09-05 17:24:08 +02:00
parent b94743567f
commit 12b81919c3
29 changed files with 1288 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
---
# Grafana handlers
- name: Restart grafana
ansible.builtin.systemd:
name: "{{ grafana_service }}"
state: restarted
- name: Reload nginx
ansible.builtin.systemd:
name: nginx
state: reloaded