1
0
Fork 0
mirror of https://gitlab.com/s3lph/ansible-collection-prometheus synced 2024-10-23 03:46:59 +02:00

Fix variable name in OpenBSD rc.conf.local lineinfile

This commit is contained in:
s3lph 2021-11-03 11:27:53 +01:00
parent 69aa853031
commit 438eea372c

View file

@ -40,7 +40,7 @@
path: /etc/rc.conf.local
line: >-
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
regexp: ^node_exporter_flags=.*$
when: "ansible_distribution == 'OpenBSD'"