diff options
-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 |