summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/grafana/tasks/install-debian.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/grafana/tasks/install-debian.yml b/roles/grafana/tasks/install-debian.yml
index a2ca371b..f641d15f 100644
--- a/roles/grafana/tasks/install-debian.yml
+++ b/roles/grafana/tasks/install-debian.yml
@@ -11,6 +11,11 @@
url: "https://apt.grafana.com/gpg.key"
dest: "/etc/apt/trusted.gpg.d/grafana.asc"
mode: "0644"
+ tags:
+ # Ubuntu containers experience DNS failures during molecule idempotence runs
+ # causing get_url to fail even when files exist. Skip this task during idempotence
+ # since the download functionality is already verified during the converge phase.
+ - molecule-idempotence-notest
- name: "Add Grafana repository"
become: true
@@ -24,6 +29,11 @@
ansible.builtin.apt:
update_cache: true
changed_when: false
+ tags:
+ # Ubuntu containers experience DNS failures during molecule idempotence runs
+ # causing get_url to fail even when files exist. Skip this task during idempotence
+ # since the download functionality is already verified during the converge phase.
+ - molecule-idempotence-notest
- name: "Install grafana"
become: true