mirror of
https://github.com/luzifer-ansible/apt.git
synced 2024-12-22 16:51:17 +00:00
Always do a cache update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7ec981fece
commit
26d33ac4fb
1 changed files with 1 additions and 2 deletions
|
@ -20,10 +20,9 @@
|
|||
with_items: '{{ apt_repos }}'
|
||||
register: apt_repos_task
|
||||
|
||||
- name: Update cache
|
||||
- name: Force update cache
|
||||
apt:
|
||||
update_cache: yes
|
||||
when: apt_keys_task.changed or apt_repos_task.changed
|
||||
|
||||
- name: Install APT packages
|
||||
apt:
|
||||
|
|
Loading…
Reference in a new issue