Commit 1cd3feaf authored by Mattia Rizzolo's avatar Mattia Rizzolo

common/apt: only update the cache if older than 4 hours

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 00933329
......@@ -3,7 +3,7 @@
- name: update apt cache
apt:
update_cache: true
cache_valid_time: 300
cache_valid_time: 14400 # 4 hours
- name: install basic packages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment