13 lines
362 B
YAML
13 lines
362 B
YAML
---
|
|
- name: '{{ exporter }} exporter | stop old version'
|
|
systemd:
|
|
name: prometheus-{{ exporter }}-exporter.service
|
|
state: stopped
|
|
tags: [ 'prometheus_{{ exporter }}' ]
|
|
|
|
- name: '{{ exporter }} exporter | remove old version'
|
|
file:
|
|
path: /usr/local/bin/prometheus-{{ exporter }}-exporter
|
|
state: absent
|
|
tags: [ 'prometheus_{{ exporter }}' ]
|