Always do a cache update

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-05-09 09:43:03 +02:00
parent 7ec981fece
commit 26d33ac4fb
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -20,10 +20,9 @@
with_items: '{{ apt_repos }}' with_items: '{{ apt_repos }}'
register: apt_repos_task register: apt_repos_task
- name: Update cache - name: Force update cache
apt: apt:
update_cache: yes update_cache: yes
when: apt_keys_task.changed or apt_repos_task.changed
- name: Install APT packages - name: Install APT packages
apt: apt: