Remove centos 9 task for compose repos setup
In the parent change at [1] we are changing the containers and image builds for c9 to use the release files and repo-setup role from quickstart. This removes the task we were previously using that installed the latest compose repos. [1] https://review.opendev.org/c/openstack/tripleo-ci/+/818222 Change-Id: Ic505b45af79b61ac7616eda53eee299328888719
This commit is contained in:
parent
9b50ab9aff
commit
2e6b614423
@ -6,10 +6,6 @@ centos_mirror_host: "http://mirror.centos.org"
|
|||||||
fedora_mirror_host: "https://mirrors.fedoraproject.org"
|
fedora_mirror_host: "https://mirrors.fedoraproject.org"
|
||||||
rdo_mirror_host: "https://trunk.rdoproject.org"
|
rdo_mirror_host: "https://trunk.rdoproject.org"
|
||||||
override_repos: ""
|
override_repos: ""
|
||||||
# Url for the CentOS Compose for tripleo yum config module
|
|
||||||
compose_url: "https://composes.stream.centos.org/production/{{ compose_id }}/compose"
|
|
||||||
# Particular compose id to use
|
|
||||||
compose_id: "latest-CentOS-Stream"
|
|
||||||
rpm_packages:
|
rpm_packages:
|
||||||
- git
|
- git
|
||||||
- python3-libselinux
|
- python3-libselinux
|
||||||
|
@ -127,18 +127,6 @@
|
|||||||
args:
|
args:
|
||||||
warn: false
|
warn: false
|
||||||
|
|
||||||
- name: Install repos on EL9
|
|
||||||
become: true
|
|
||||||
shell: |
|
|
||||||
set -exo pipefail
|
|
||||||
source {{ workspace }}/venv/bin/activate
|
|
||||||
tripleo-yum-config enable-compose-repos \
|
|
||||||
--disable-all-conflicting \
|
|
||||||
--release centos-stream-9 \
|
|
||||||
--compose-url {{ compose_url }}
|
|
||||||
register: result
|
|
||||||
when: ansible_distribution_major_version is version(8, '>')
|
|
||||||
|
|
||||||
- name: Print out the stdout of result
|
- name: Print out the stdout of result
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ result }}"
|
msg: "{{ result }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user