From 2057ce094ad435541f1f0a09e1cff635e9b56d84 Mon Sep 17 00:00:00 2001 From: Eric Bonharme Date: Mon, 28 Nov 2016 13:17:16 +0000 Subject: [PATCH] Force apt cache update unless updated withinn the hour --- tasks/pkg-debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/pkg-debian.yml b/tasks/pkg-debian.yml index bbce6402..c7969a00 100644 --- a/tasks/pkg-debian.yml +++ b/tasks/pkg-debian.yml @@ -1,5 +1,5 @@ --- -- apt: name=apt-transport-https state=latest +- apt: name=apt-transport-https update_cache=yes cache_valid_time=3600 state=latest - apt_key: id=C7A7DA52 keyserver=hkp://keyserver.ubuntu.com:80 state=present when: datadog_apt_key_url is not defined