You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A similar issue was reported in geerlingguy/ansible-role-docker#118 - proposed solution was "controlling apt caches in the playbook that uses the role / outside the role."
So I add the following pre_task to main.yml:
pre_tasks:
- name: Run "update_cache=yes" if the last one is more than 3600 seconds ago
apt:
update_cache: yes
cache_valid_time: 3600
The text was updated successfully, but these errors were encountered:
jim-whiteside
changed the title
Ch4 p79 - geerlingguy.docker role fails due to stale apt cache
Ch4 (cluster-local-vms) p79 - geerlingguy.docker role fails due to stale apt cache
Mar 12, 2021
Failure at
geerlingguy.docker : Ensure dependencies are installed.
A similar issue was reported in geerlingguy/ansible-role-docker#118 - proposed solution was "controlling apt caches in the playbook that uses the role / outside the role."
So I add the following pre_task to main.yml:
The text was updated successfully, but these errors were encountered: