roles/common: Only update apt index if cache is older than 1 hour
This commit is contained in:
parent
281689e506
commit
400926821c
@ -6,7 +6,7 @@
|
|||||||
when: ansible_architecture != 'armv7l'
|
when: ansible_architecture != 'armv7l'
|
||||||
|
|
||||||
- name: Upgrade base OS
|
- name: Upgrade base OS
|
||||||
apt: upgrade=dist update_cache=yes
|
apt: upgrade=dist update_cache=yes cache_valid_time=3600
|
||||||
|
|
||||||
- name: Set Ubuntu base packages
|
- name: Set Ubuntu base packages
|
||||||
set_fact:
|
set_fact:
|
||||||
|
Loading…
Reference in New Issue
Block a user