# 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 == 'RedHat' and ansible_distribution_major_version|int >= 8 %} [RDO-RHEL8-deps] name=RedHat OpenStack deps repo baseurl=https://trunk.rdoproject.org/rhel8-master/deps/latest/ gpgcheck=0 enabled=1 {% elif ansible_distribution == 'CentOS' and ansible_distribution_major_version|int >= 8 %} [RDO-RHEL8-deps] # NOTE(ianw): 2019-11-25 RDO on centos8 is still in the process of # being built. However, for our openvswitch dependency we can use # this, for now. name=RedHat OpenStack deps repo baseurl=https://trunk.rdoproject.org/rhel8-master/deps/latest/ gpgcheck=0 enabled=1 {% endif %}