fix: add lock_timout to apt cache update

should prevent errors with new vagrant machines, where apt is still locked by vagrant
This commit is contained in:
Bert-Jan Fikse 2026-01-14 17:36:07 +01:00
parent 5ed12c64d0
commit 7f639e8191
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A

View file

@ -6,6 +6,7 @@
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
lock_timeout: 180
when: ansible_facts["os_family"] == "Debian"
- name: Install required packages for Docker
@ -20,7 +21,6 @@
state: present
when: ansible_facts["os_family"] == "Debian"
- name: Install convenience packages
ansible.builtin.apt:
name: