Skip to content

Commit e2af138

Browse files
committed
Remove invalid cache for (ICPC) ISO
During the WFs updating once per hour (so once per debugging) should be fine and make sure the machines stay in the same state if SysOps upgrades a package.
1 parent 0205794 commit e2af138

File tree

1 file changed

+6
-0
lines changed
  • provision-contest/ansible/roles/base_packages/tasks

1 file changed

+6
-0
lines changed

provision-contest/ansible/roles/base_packages/tasks/main.yml

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
notify: Run apt update
4141
when: dpkg_architectures.stdout.find('i386') != -1
4242

43+
- name: Update cache if this is our first run
44+
apt:
45+
upgrade: true
46+
update_cache: true
47+
cache_valid_time: 3600
48+
4349
- name: Flush handlers
4450
meta: flush_handlers
4551

0 commit comments

Comments
 (0)