prometheus_node_exporter: rename variable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user