common-tasks: nodepool: Set openSUSE OBS mirror for OpenStack CI
The OpenStack infra are now mirroring the virtualization and cloud repositories for openSUSE so we don't need to set the OBS mirror to the official download.opensuse.org anymore. This also ensures that the task for checking the presence of /etc/ci/mirror_info.sh is delegated to the host since that file does not exist in the containers. Change-Id: Ia530a5901e3e8ec759ba6c79345cbd9a8b7d2b46
This commit is contained in:
parent
0b09a05bd1
commit
c3cced9a1c
@ -17,6 +17,7 @@
|
||||
stat:
|
||||
path: /etc/ci/mirror_info.sh
|
||||
register: ci_mirror_info
|
||||
delegate_to: localhost
|
||||
|
||||
- name: Set nodepool vars
|
||||
block:
|
||||
@ -53,7 +54,6 @@
|
||||
# CentOS mirrors are set to OpenStack's CI mirrors, so fastestmirror is
|
||||
# disabled to speed up package downloads.
|
||||
openstack_hosts_enable_yum_fastestmirror: no
|
||||
opensuse_mirror_obs: "http://download.opensuse.org"
|
||||
pip_links:
|
||||
- name: "infra_wheel_mirror"
|
||||
link: "{{ pip_wheel_mirror }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user