mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-12-23 00:37:33 +01:00
Fix collectors cronjob paths
This commit is contained in:
parent
0b7dc9e3e5
commit
6ca34192fe
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@
|
|||
|
||||
{% for name, job in collectors.items() %}
|
||||
# {{ name }}
|
||||
{{ job.cronexpr }} {{ prometheus_node_crontab_system_user | default('') }} /bin/sh -c "/usr/local/bin/{{ job.template_base_name | default('prometheus-node-exporter-' + name + '.sh') }}" | sponge /var/lib/prometheus/node-exporter/{{ name }}.prom
|
||||
{{ job.cronexpr }} {{ prometheus_node_crontab_system_user | default('') }} /bin/sh -c "/usr/local/bin/{{ job.template_base_name | default('prometheus-node-exporter-' + name + '.sh') }} | sponge {{ prometheus_node_textfile_dir }}/{{ name }}.prom"
|
||||
|
||||
{% endfor %}
|
Loading…
Reference in a new issue