This commit is contained in:
tom.chivert 2023-07-20 11:50:47 +02:00
parent 902af9c58d
commit d8afed3b98

View File

@ -49,7 +49,7 @@
state: directory
path: /tmp/prometheus_exporter/{{ exporter }}
when: >
not stat_result.stat.exists or exporter_upgrade == "yes"
(not stat_result.stat.exists or exporter_upgrade == "yes") and
prometheus_exporters_sources == "origin"
tags: [ 'prometheus_{{ exporter }}' ]