Add product in subscription to host

Latest response

Hello!

If I have a subscribed machine (via Satellite 6.7.2) and all RH repos in the "Red Hat Enterprise Linux 8 for x86_64" product enabled and available, how do I add the repos in the product "Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise Linux 7 Server"?

It should be available through the same subscription, but it is somehow a different "Product".

If I inspect the "Repository Sets" tab of the "Content Host" view of the server in the Satellite GUI, the ansible repo is marked as enabled, but it won't show up in /etc/yum.repos.d/redhat.repo, and thus the packages are not made available to the host.

All import/publish actions for the product/repos succeeded, it's just the "Product" information of the host that is not updated.

Responses

I checked just now, and it seems the deps for the Ansible product is not available in RHEL8. I suppose this is a show-stopper anyways.

The Red Hat Ansible Engine 2.6 RPMs for Red Hat Enterprise Linux 7 Server repo is for RHEL7 systems. A RHEL 8 system cannot use it. The tools will not allow you to enable a conflicting repo. You'd want to download a repository such as Red Hat Ansible Engine 2.9 for RHEL 8 x86_64 RPMs (ansible-2.9-for-rhel-8-x86_64-rpms) for a RHEL8 system, and then enable it on the Repository Sets page for the content host.