This commit is contained in:
tom.chivert 2023-07-20 15:45:00 +02:00
parent 5b98397bbd
commit 8bc8db8334

View File

@ -10,14 +10,14 @@
when: stat_result.stat.exists and exporter_upgrade == "yes" when: stat_result.stat.exists and exporter_upgrade == "yes"
tags: [ 'prometheus_{{ exporter }}' ] tags: [ 'prometheus_{{ exporter }}' ]
- name '{{ exporter }} exporter | install from origin' - name: '{{ exporter }} exporter | install from origin'
include_tasks: "origin.yml" include_tasks: "origin.yml"
when: > when: >
(not stat_result.stat.exists or exporter_upgrade == "yes") and (not stat_result.stat.exists or exporter_upgrade == "yes") and
prometheus_exporters_sources == "origin" prometheus_exporters_sources == "origin"
tags: [ 'prometheus_{{ exporter }}' ] tags: [ 'prometheus_{{ exporter }}' ]
- name '{{ exporter }} exporter | install from repo' - name: '{{ exporter }} exporter | install from repo'
include_tasks: "repo.yml" include_tasks: "repo.yml"
when: > when: >
(not stat_result.stat.exists or exporter_upgrade == "yes") and (not stat_result.stat.exists or exporter_upgrade == "yes") and