diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c18bb5..cac27cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ +## v1.0.1 + +### Fix +* Ensure to update cache before install unattended-upgrades. + ## v1.0 ### Features diff --git a/tasks/packages.yml b/tasks/packages.yml index b260639..3be6a0c 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -14,6 +14,7 @@ apt: pkg: "unattended-upgrades" state: "{{ 'latest' if apt_unattended_upgrades else 'absent' }}" + update_cache: yes when: apt_unattended_upgrades - name: INSTALL purge useless packages