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:
parent
18374fba1d
commit
d224430304
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user