From 9f5edbce60afb2293d86099adb2ad9bc0c14e998 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 19 Feb 2018 18:02:26 +0100 Subject: [PATCH] apt-base: Don't list "APT update" as "changed", even when run This "only" updates the local APT package database periodically, and we don't want Ansible to cont (and show!) this as "changed" when actually nothing happend to the system configuration itself. --- roles/apt-base/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/apt-base/tasks/main.yml b/roles/apt-base/tasks/main.yml index 4217213..2a6d523 100644 --- a/roles/apt-base/tasks/main.yml +++ b/roles/apt-base/tasks/main.yml @@ -42,6 +42,7 @@ apt: > update_cache=yes cache_valid_time=3600 + changed_when: false - name: configure debconf(1) frontend tags: -- 2.39.2