aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2022-07-08 07:55:08 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2022-07-08 08:20:55 +0000
commit95fb2af4db9defbcb60bcd7d321dbd2ce277eac6 (patch)
tree1c9f1674548ae0104b2e7b4a9fc082a4ca537795 /fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
parentba25ef9fb58418e85d0eb34a183d6d9c2323886e (diff)
feat(ansible): Migrate Ubuntu Jammy III.
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I0e2d2efbb4e4c9ab9d66198eb15bc9e49fb06eb6
Diffstat (limited to 'fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml b/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
index 3fe40f031a..ef9da40175 100644
--- a/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/prometheus_exporter/tasks/main.yaml
@@ -2,7 +2,7 @@
# file: roles/prometheus_exporter/tasks/main.yaml
- name: Inst - Update Package Cache (APT)
- apt:
+ ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
@@ -11,7 +11,7 @@
- prometheus-inst
- name: Inst - Prerequisites
- package:
+ ansible.builtin.package:
name: "{{ packages | flatten(levels=1) }}"
state: latest
tags:
@@ -48,7 +48,7 @@
- prometheus-conf-blackbox-exporter
- name: Conf - Prometheus Blackbox Exporter
- copy:
+ ansible.builtin.copy:
src: "files/blackbox.yml"
dest: "/etc/prometheus/blackbox.yml"
tags: