From 88a161c1f5244478c66a5d5a4a261f62da59de86 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 13 Sep 2016 22:43:42 -0500 Subject: Fix tests on Ubuntu. --- tests/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test.yml b/tests/test.yml index ddde48f..67d4085 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -4,5 +4,10 @@ ntp_enabled: false ntp_manage_config: true + pre_tasks: + - name: Update apt cache. + apt: update_cache=yes + when: ansible_os_family == 'Debian' + roles: - role_under_test -- cgit v1.2.3