mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +01:00
Fix variable name in OpenBSD rc.conf.local lineinfile
This commit is contained in:
parent
69aa853031
commit
438eea372c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@
|
||||||
path: /etc/rc.conf.local
|
path: /etc/rc.conf.local
|
||||||
line: >-
|
line: >-
|
||||||
node_exporter_flags=--collector.textfile.directory={{ prometheus_node_textfile_dir }}
|
node_exporter_flags=--collector.textfile.directory={{ prometheus_node_textfile_dir }}
|
||||||
{% for k, v in args.items() %}--{{ k }}="{{ v }}" {% endfor %}
|
{% for k, v in prometheus_node_exporter_args.items() %}--{{ k }}="{{ v }}" {% endfor %}
|
||||||
--web.config=/etc/prometheus/node-exporter/tls/config.yml
|
--web.config=/etc/prometheus/node-exporter/tls/config.yml
|
||||||
regexp: ^node_exporter_flags=.*$
|
regexp: ^node_exporter_flags=.*$
|
||||||
when: "ansible_distribution == 'OpenBSD'"
|
when: "ansible_distribution == 'OpenBSD'"
|
||||||
|
|
Loading…
Reference in a new issue