From 9cb66596d6eac3d36252f308755d124767b02108 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 20 Oct 2025 15:28:29 +0200 Subject: Ignore failing idempotence test for get_url with note in code --- roles/grafana/tasks/install-debian.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3