Tests: Ensure that the apt cache is always refreshed

Change-Id: Ia59123aca3c56ffd09337a17d2630432c945356b
This commit is contained in:
Jesse Pretorius 2016-03-04 10:10:56 +00:00
parent 1477df22f7
commit fdd067d887
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@
- name: Playbook for role testing
hosts: localhost
connection: local
pre_tasks:
- name: First ensure apt cache is always refreshed
apt:
update_cache: yes
roles:
- role: "{{ rolename | basename }}"
openstack_host_kernel_modules: