summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-10-20 15:28:29 +0200
committerAhmed Abdelhalim <[email protected]>2025-10-20 15:59:18 +0200
commit9cb66596d6eac3d36252f308755d124767b02108 (patch)
treeeb8929d852e1dcb8754d3b59272f41ec433dad0e /roles
parent34039e4525b21534b20c3aa68a543e0b2d13dda1 (diff)
Ignore failing idempotence test for get_url with note in code
Diffstat (limited to 'roles')
-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