From 9e130931ebbce9aac7455d5d50cd57a08be48b55 Mon Sep 17 00:00:00 2001 From: Laurent Hoss Date: Thu, 1 Dec 2016 10:08:09 +0100 Subject: [PATCH] apt task with proxy needs an extra update_cache (despite update_cache in previous apt-repos task) (#72) --- tasks/Debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/Debian.yml b/tasks/Debian.yml index a540b8f..569445b 100644 --- a/tasks/Debian.yml +++ b/tasks/Debian.yml @@ -6,7 +6,7 @@ apt_repository: repo='deb {{ mesosphere_apt_url }} {{ ansible_distribution_release | lower }} main' state=present update_cache=yes - name: Install Debian OS packages - apt: pkg={{ item }} state=present + apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600 with_items: - wget - curl