test-set-nodepool-vars: Fix mirror variable on CentOS7
The mirros are now configured in the openstack-ansible-openstack_hosts role and the correct variable to set on CentOS is openstack_hosts_centos_mirror_url. Change-Id: Iaf3289af1e02a1cafb93577d634477f27a8008be
This commit is contained in:
parent
d5cda7aacc
commit
51f54c323d
|
@ -76,7 +76,7 @@
|
|||
# NOTE(mhayden): This mirror URL already has the '/centos' URI added.
|
||||
- name: Set a fact to override the CentOS mirror URL when in nodepool
|
||||
set_fact:
|
||||
pip_install_centos_mirror_url: "{{ centos_mirror_url.stdout }}"
|
||||
openstack_hosts_centos_mirror_url: "{{ centos_mirror_url.stdout }}"
|
||||
when:
|
||||
- ansible_pkg_mgr in ['yum', 'dnf']
|
||||
- nodepool.stat.exists | bool
|
||||
|
|
Loading…
Reference in New Issue