From: Alexander Barton Date: Mon, 19 Feb 2018 17:02:26 +0000 (+0100) Subject: apt-base: Don't list "APT update" as "changed", even when run X-Git-Url: https://arthur.barton.de/gitweb/?p=AnsibleRoles.git;a=commitdiff_plain;h=9f5edbce60afb2293d86099adb2ad9bc0c14e998 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. --- 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: