prometheus/tasks/exporter/blackbox.yml

16 lines
439 B
YAML
Raw Normal View History

2021-11-02 15:51:47 +01:00
---
2022-11-11 23:51:52 +01:00
- include_tasks: _common.yml
2022-11-16 11:30:49 +01:00
tags: ['prometheus_blackbox_exporter']
2021-11-02 15:51:47 +01:00
2022-11-11 21:08:07 +01:00
- name: 'blackbox exporter | configuration'
2021-11-02 15:51:47 +01:00
template:
src: conf/prometheus-blackbox-exporter.j2
dest: /etc/default/prometheus-blackbox-exporter
2021-11-02 15:51:47 +01:00
owner: root
group: root
mode: 0600
register: prometheus_blackbox_exporter_configuration
notify:
- 'prometheus | blackbox exporter | restart service'
2022-11-16 11:30:49 +01:00
tags: ['prometheus_blackbox_exporter']