From c7956a3f1bf65a2daae3511424801196a4d616f6 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Fri, 4 Mar 2016 10:15:04 +0000 Subject: [PATCH] Tests: Ensure that the apt cache is always refreshed Change-Id: I53cc7a732d65d06a7198b3abbbc0c0e6825437ff --- tests/test-prep.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test-prep.yml b/tests/test-prep.yml index edb664af..71490dc6 100644 --- a/tests/test-prep.yml +++ b/tests/test-prep.yml @@ -34,6 +34,9 @@ hosts: localhost connection: local pre_tasks: + - name: First ensure apt cache is always refreshed + apt: + update_cache: yes - name: Ensure root's new public ssh key is in authorized_keys authorized_key: user: root