From ec1d0b119700fa20315af77d6405f1923fb0432a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Mon, 19 Mar 2018 16:12:31 +0100 Subject: [PATCH] Use `cache_valid_time` for apt module Signed-off-by: Knut Ahlers --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index f38fb69..1f0d0b7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,6 +3,7 @@ - name: Install nginx package apt: name: nginx + cache_valid_time: 86400 - name: Ensure nginx service is disabled and stopped systemd: