tests: bootstrap-host: Refresh repositories on SUSE

It's important to have an up2date picture of the zypper repositories
before we try to install any packages.

Change-Id: I7784974cebbd35b51f58ee60287b98006f4d843f
This commit is contained in:
Markos Chandras 2017-07-28 13:06:57 +01:00
parent 18374fba1d
commit d224430304

View File

@ -101,6 +101,9 @@
package:
name: "{{ packages_install }}"
state: present
# NOTE(hwoarang) Ubuntu has updated its cache before so no need to do it
# again
update_cache: "{{ (ansible_pkg_mgr == 'zypper') | ternary('yes', omit) }}"
tags:
- install-packages