diff --git a/provision-contest/ansible/roles/base_packages/tasks/main.yml b/provision-contest/ansible/roles/base_packages/tasks/main.yml index 54fafc3c..23e3627e 100644 --- a/provision-contest/ansible/roles/base_packages/tasks/main.yml +++ b/provision-contest/ansible/roles/base_packages/tasks/main.yml @@ -40,6 +40,12 @@ notify: Run apt update when: dpkg_architectures.stdout.find('i386') != -1 +- name: Update cache if this is our first run + apt: + upgrade: true + update_cache: true + cache_valid_time: 3600 + - name: Flush handlers meta: flush_handlers