zuul-jobs/roles/multi-node-bridge/templates/zuul-multi-node-bridge-ovs.repo.j2
Alfredo Moralejo c4c6958622 Use centos8 deps repo for RHEL8 nodes
CentOS8 deps should be compatible with RHEL and provide latest versions
of deps compared to the old rhel8 one. Let's switch to use it to install
openvswitch too.

Change-Id: I04090a179706c52e3db4e9118b74f7c7d5ad9776
2020-03-18 10:29:04 +01:00

20 lines
787 B
Django/Jinja

# Vendored from rdo-release: https://github.com/rdo-infra/rdo-release
{% if ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version|int <= 7 %}
[centos-openstack-queens]
name=CentOS OpenStack Queens Repository
{% if zuul_site_mirror_fqdn is defined %}
baseurl=http://{{ zuul_site_mirror_fqdn }}/centos/7/cloud/$basearch/openstack-queens/
{% else %}
baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-queens/
{% endif %}
gpgcheck=1
enabled=1
gpgkey=file:///tmp/RPM-GPG-KEY-CentOS-SIG-Cloud
{% elif ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version|int >= 8 %}
[RDO-CentOS8-deps]
name=CentOS OpenStack deps repo
baseurl=https://trunk.rdoproject.org/centos8-master/deps/latest/
gpgcheck=0
enabled=1
{% endif %}