refactor(nut): merge prometheus exporter into nut role

- exporter gated by nut_prometheus_exporter_enabled
- env-file config (correct NUT_EXPORTER_* vars + --web.listen-address)
- remove standalone nut_exporter role
This commit is contained in:
Clément Désiles
2026-09-05 17:24:12 +02:00
parent 12b81919c3
commit 5218fa2714
14 changed files with 88 additions and 151 deletions
+4
View File
@@ -95,3 +95,7 @@
enabled: true
state: started
loop: "{{ nut_services }}"
- name: Deploy Prometheus NUT exporter
ansible.builtin.include_tasks: exporter.yml
when: nut_prometheus_exporter_enabled | bool