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:
parent
5ed12c64d0
commit
7f639e8191
1 changed files with 1 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
|
lock_timeout: 180
|
||||||
when: ansible_facts["os_family"] == "Debian"
|
when: ansible_facts["os_family"] == "Debian"
|
||||||
|
|
||||||
- name: Install required packages for Docker
|
- name: Install required packages for Docker
|
||||||
|
|
@ -20,7 +21,6 @@
|
||||||
state: present
|
state: present
|
||||||
when: ansible_facts["os_family"] == "Debian"
|
when: ansible_facts["os_family"] == "Debian"
|
||||||
|
|
||||||
|
|
||||||
- name: Install convenience packages
|
- name: Install convenience packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name:
|
name:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue