diff options
author | Jeff Geerling <geerlingguy@mac.com> | 2016-09-13 22:43:42 -0500 |
---|---|---|
committer | Jeff Geerling <geerlingguy@mac.com> | 2016-09-13 22:43:42 -0500 |
commit | 88a161c1f5244478c66a5d5a4a261f62da59de86 (patch) | |
tree | 56851ef60af9a63cd6a6394ead64c1142d2f409f /tests/test.yml | |
parent | 64de2a4bcbb0b8273ba66ab5c82c7b9db5c10740 (diff) | |
download | ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.tar.gz ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.tar.bz2 ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.tar.xz ntp-88a161c1f5244478c66a5d5a4a261f62da59de86.zip |
Fix tests on Ubuntu.
Diffstat (limited to 'tests/test.yml')
-rw-r--r-- | tests/test.yml | 5 |
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 |