From 173e00ecaa14553fbe41d032e1f3ea9116a5b593 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sat, 23 Dec 2017 18:20:49 -0600 Subject: [PATCH] Issue #83: Update apt cache before installing the pip 2 package. --- tests/https-self-signed.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/https-self-signed.yml b/tests/https-self-signed.yml index 596331d..46d844f 100644 --- a/tests/https-self-signed.yml +++ b/tests/https-self-signed.yml @@ -2,6 +2,9 @@ - hosts: all tasks: + - name: Ensure apt cache is updated. + apt: update_cache=yes cache_valid_time=600 + - name: Ensure the older Python 2 pip is available. package: name=python-pip state=present