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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user