From 400926821ca8abef61944e5ff423c928e7c4aec8 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 20 Dec 2018 09:37:09 +0200 Subject: [PATCH] roles/common: Only update apt index if cache is older than 1 hour --- roles/common/tasks/packages_Ubuntu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/tasks/packages_Ubuntu.yml b/roles/common/tasks/packages_Ubuntu.yml index 093d2ec..86919e1 100644 --- a/roles/common/tasks/packages_Ubuntu.yml +++ b/roles/common/tasks/packages_Ubuntu.yml @@ -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: