roles/common: Only update apt index if cache is older than 1 hour

This commit is contained in:
Alan Orth 2018-12-20 09:37:09 +02:00
parent 281689e506
commit 400926821c
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -6,7 +6,7 @@
when: ansible_architecture != 'armv7l'
- 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
set_fact: