mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +01:00
fix: recent versions of prometheus node exporter renamed --web.config to --web.config.file
This commit is contained in:
parent
ddc99c03cb
commit
ba00a83424
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ namespace: s3lph
|
||||||
name: prometheus
|
name: prometheus
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: 0.9.2
|
version: 0.9.3
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
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 prometheus_node_exporter_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.file=/etc/prometheus/node-exporter/tls/config.yml
|
||||||
regexp: ^node_exporter_flags=.*$
|
regexp: ^node_exporter_flags=.*$
|
||||||
when: "ansible_distribution == 'OpenBSD'"
|
when: "ansible_distribution == 'OpenBSD'"
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{{ ansible_managed | comment }}
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
ARGS="{% for k, v in args.items() %}--{{ k }}=\"{{ v }}\" {% endfor %} --web.config=/etc/prometheus/node-exporter/tls/config.yml"
|
ARGS="{% for k, v in args.items() %}--{{ k }}=\"{{ v }}\" {% endfor %} --web.config.file=/etc/prometheus/node-exporter/tls/config.yml"
|
||||||
|
|
Loading…
Reference in a new issue