summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeff Geerling <geerlingguy@mac.com>2016-09-13 22:43:42 -0500
committerJeff Geerling <geerlingguy@mac.com>2016-09-13 22:43:42 -0500
commit88a161c1f5244478c66a5d5a4a261f62da59de86 (patch)
tree56851ef60af9a63cd6a6394ead64c1142d2f409f /tests
parent64de2a4bcbb0b8273ba66ab5c82c7b9db5c10740 (diff)
downloadntp-88a161c1f5244478c66a5d5a4a261f62da59de86.tar.gz
ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.tar.bz2
ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.tar.xz
ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.zip
Fix tests on Ubuntu.
Diffstat (limited to 'tests')
-rw-r--r--tests/test.yml5
1 files changed, 5 insertions, 0 deletions
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