From fc88ba2570344c0a7f090fdb34154c961f6001a3 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 24 Aug 2015 13:52:44 -0500 Subject: [PATCH] Fixes #24: Update apt cache if it hasn't been updated in a day. --- tasks/setup-Debian.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index ced11b6..27e28d5 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -1,4 +1,7 @@ --- +- name: Update apt cache. + apt: update_cache=yes cache_valid_time=86400 + - name: Ensure nginx is installed. apt: pkg: nginx