This commit is contained in:
tom.chivert 2023-07-20 15:43:24 +02:00
parent 78decc8f50
commit 5b98397bbd
2 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,8 @@
register: stat_result
tags: [ 'prometheus_{{ exporter }}' ]
- name '{{ exporter }} exporter | remove old exporter version'
include_tasks: "upgrade.yml"
- name: '{{ exporter }} exporter | remove old exporter version'
include_tasks: "cleanup.yml"
when: stat_result.stat.exists and exporter_upgrade == "yes"
tags: [ 'prometheus_{{ exporter }}' ]