Use the official RDO yoga repo for liberasurecode on centos 9

We had to workaround this repo not existing when we first spun up wheel
builds for centos 9 stream. But the repo appears to exist now so use the
official production stuff rather than the test builds.

Change-Id: I85cf1c29d501817254ddc54ef02bd75b848ed942
This commit is contained in:
Clark Boylan 2022-04-20 09:59:23 -07:00
parent 09f3a61793
commit 60a63f1bb1
1 changed files with 3 additions and 11 deletions

View File

@ -36,18 +36,10 @@
- ansible_distribution == "CentOS"
- ansible_distribution_major_version == '8'
# NOTE(ianw) 2022-04-11 : For now use buildlogs staging version
# until final releases are made and there are packages to install
# repos.
- name: Add centos-release-openstack for CentOS 9
copy:
content: |
[RDO-CentOS-9-stream-yoga]
name=CentOS OpenStack Yoga Repository
baseurl=https://buildlogs.centos.org/centos/9-stream/cloud/{{ ansible_architecture }}/openstack-yoga
gpgcheck=0
enable=1
dest: /etc/yum.repos.d/openstack-yoga.repo
yum:
name: centos-release-openstack-yoga
state: present
become: yes
when:
- ansible_distribution == "CentOS"