prometheus_node_exporter: Make listening on localhost possible

This commit is contained in:
uumas
2025-07-26 23:07:09 +03:00
parent 7e0538ae20
commit 273da948b5

View File

@@ -1 +1 @@
ARGS="--web.listen-address {{ (ansible_all_ipv4_addresses | ansible.utils.ipaddr(prometheus_node_exporter_local_network))[0] }}:9100 --collector.logind --collector.systemd --collector.processes"
ARGS="--web.listen-address {{ (ansible_locally_reachable_ips.ipv4 | ansible.utils.ipaddr(prometheus_node_exporter_local_network))[-1] }}:9100 --collector.logind --collector.systemd --collector.processes"