From 8b8059aa54926b23bbaffdc5bb4d5ad2a082c9ce Mon Sep 17 00:00:00 2001 From: Val Currie Date: Tue, 8 Oct 2024 15:02:37 -0500 Subject: [PATCH] Add changed_when false to apt update task This task will (almost?) always result in a "changed" state which creates noise when running playbooks. Just an "ok" state should be sufficient feedback for the task. --- tasks/debian.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/debian.yml b/tasks/debian.yml index 1a54709..a2a6623 100644 --- a/tasks/debian.yml +++ b/tasks/debian.yml @@ -22,3 +22,4 @@ - name: Run the equivalent of "apt-get update" ansible.builtin.apt: update_cache: true + changed_when: false