566753e272f9512075fbbb739486df8f8fbeb22a
[csit.git] / resources / tools / testbed-setup / ansible / roles / prometheus_exporter / tasks / ubuntu_bionic.yaml
1 ---
2 # file: roles/prometheus_exporter/tasks/ubuntu_bionic.yaml
3
4 - name: Inst - Update Package Cache (APT)
5   apt:
6     update_cache: yes
7     cache_valid_time: 3600
8   tags:
9     - prometheus-inst-prerequisites
10
11 - name: Inst - Prerequisites
12   package:
13     name: "init-system-helpers"
14     default_release: "bionic-backports"
15     state: latest
16   tags:
17     - prometheus-inst-prerequisites
18
19 - name: Inst - Prometheus Node Exporter
20   apt:
21     deb: "{{ ne_packages }}"
22   notify:
23     - "Restart Prometheus Node Exporter"
24   tags:
25     - prometheus-inst-node-exporter
26
27 - name: Inst - Prometheus Blackbox Exporter
28   apt:
29     deb: "{{ be_packages }}"
30   notify:
31     - "Restart Prometheus Blackbox Exporter"
32   tags:
33     - prometheus-inst-blackbox-exporter