aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
blob: b38215c4a2187b28f01d54c26d2a3d8b8d886f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
# file: roles/prometheus_exporter/tasks/main.yaml

- include_tasks: "{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml"
  tags:
    - prometheus-inst

- name: Conf - Prometheus Blackbox Exporter
  copy:
   src: 'files/blackbox.yml'
   dest: '/etc/prometheus/blackbox.yml'
  notify:
    - "Restart Prometheus Blackbox Exporter"
  tags:
    - prometheus-conf-blackbox-exporter