ansible-collection-prometheus/roles/blackbox_exporter/tasks/main.yml
Paweł Krupa (paulfantom) dcfbfa84d2 initial migration of roles from cloudalchemy
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-09-23 13:29:55 +02:00

26 lines
509 B
YAML

---
- include: preflight.yml
tags:
- blackbox_exporter_install
- blackbox_exporter_configure
- blackbox_exporter_run
- include: install.yml
become: true
tags:
- blackbox_exporter_install
- include: configure.yml
become: true
tags:
- blackbox_exporter_configure
- name: ensure blackbox_exporter service is started and enabled
become: true
systemd:
daemon_reload: true
name: blackbox_exporter
state: started
enabled: true
tags:
- blackbox_exporter_run