prometheus_node_exporter: rename variable

This commit is contained in:
uumas
2025-07-26 23:05:26 +03:00
parent 648da9266b
commit 1c9649e8d6
2 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,8 @@ argument_specs:
main: main:
description: Installs and configures prometheus node exporter to listen on local ipv4 address description: Installs and configures prometheus node exporter to listen on local ipv4 address
options: options:
local_network: prometheus_node_exporter_local_network:
description: The local ipv4 network block, listen address is taken from this block description: >-
The local ipv4 network block, listen address is taken from this block.
type: str type: str
required: true required: true

View File

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