tools/appsre-ansible/rpmbuild: enable cdn repositories
Subscription manager should be configured to manage repositories, and by disabling rhui-client-config-server-9 rhui repositories don't get (re-)enabled after updates.
This commit is contained in:
parent
8e1d053797
commit
6563e98c94
1 changed files with 7 additions and 1 deletions
|
|
@ -25,7 +25,13 @@
|
|||
shell: >-
|
||||
dnf config-manager \
|
||||
--set-disabled rhel-9-baseos-rhui-rpms \
|
||||
--set-disabled rhel-9-appstream-rhui-rpms
|
||||
--set-disabled rhel-9-appstream-rhui-rpms \
|
||||
--set-disabled rhui-client-config-server-9
|
||||
|
||||
- name: Enable rhsm repository management
|
||||
become: yes
|
||||
shell: >-
|
||||
subscription-manager config --rhsm.manage_repos 1
|
||||
|
||||
# RHEL mock templates don't work on RHUI, they use the CDN repos
|
||||
- name: Subscribe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue