Update package cache before installing packages
On Debian/Ubuntu, update the package cache so we do not try to download old and out of date packages when creating test virtual machines. Change-Id: Ica0879b7b6c3bdbf7a520a6e746b5d1cc670fe61 Closes-Bug: #1480046
This commit is contained in:
parent
c41574f0b4
commit
3a2505727d
@ -14,6 +14,9 @@
|
||||
#
|
||||
# TODO: Consider converting to ansible virt module.
|
||||
---
|
||||
- name: "Update apt cache if Ubuntu/Debian"
|
||||
apt: update_cache=yes
|
||||
when: ansible_os_family == "Debian"
|
||||
- name: "Load Distribution defaults"
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
|
Loading…
Reference in New Issue
Block a user