1.3. Attaching your Red Hat Ansible Automation Platform subscription
You must have valid subscriptions attached before installing Red Hat Ansible Automation Platform. Attaching an Ansible Automation Platform subscription enables automation hub repositories.
A valid subscription needs to be attached to the automation hub node only. Other nodes do not need to have a valid subscription attached, even if the [automationhub]
group is blank, given this is done at the repos_el
role level and that this role is run on both [automationcontroller] and `[automationhub]
hosts.
Procedure
Obtain the
pool_id
for your Red Hat Ansible Automation Platform subscription:subscription-manager list --available --all | grep "Ansible Automation Platform" -B 3 -A 6
# subscription-manager list --available --all | grep "Ansible Automation Platform" -B 3 -A 6
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The command returns the following:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Attach the subscription:
subscription-manager attach --pool=<pool_id>
# subscription-manager attach --pool=<pool_id>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
All nodes will have Red Hat Ansible Automation Platform attached and find the automation hub repositories.
Verification
- Verify the subscription was successfully attached:
subscription-manager list --consumed
# subscription-manager list --consumed