Infra: AWS Update to Ubuntu 20.04
[csit.git] / fdio.infra.ansible / roles / prometheus_exporter / tasks / main.yaml
1 ---
2 # file: roles/prometheus_exporter/tasks/main.yaml
3
4 - include_tasks: "{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml"
5   tags:
6     - prometheus-inst
7
8 - name: Conf - Prometheus Blackbox Exporter
9   copy:
10    src: 'files/blackbox.yml'
11    dest: '/etc/prometheus/blackbox.yml'
12   notify:
13     - "Restart Prometheus Blackbox Exporter"
14   tags:
15     - prometheus-conf-blackbox-exporter