tools/appsre-ansible: revert sub removal on rpmbuild machines
The rhel-9 templates used in mock don't work with RHUI, they require the
CDN. This reintroduces the RHUI-CDN repo sync issue again.
This reverts commit d9f2ac14bc.
This commit is contained in:
parent
266cfdcc44
commit
41d98c85a7
1 changed files with 13 additions and 0 deletions
|
|
@ -20,6 +20,19 @@
|
|||
name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
|
||||
disable_gpg_check: yes
|
||||
|
||||
- name: Disable RHUI repos
|
||||
become: yes
|
||||
shell: >-
|
||||
dnf config-manager \
|
||||
--set-disabled rhel-9-baseos-rhui-rpms \
|
||||
--set-disabled rhel-9-appstream-rhui-rpms
|
||||
|
||||
# RHEL mock templates don't work on RHUI, they use the CDN repos
|
||||
- name: Subscribe
|
||||
community.general.redhat_subscription:
|
||||
activationkey: "{{ RH_ACTIVATION_KEY }}"
|
||||
org_id: "{{ RH_ORG_ID }}"
|
||||
|
||||
- name: Upgrade all packages
|
||||
package:
|
||||
name: "*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue