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_idfor your Red Hat Ansible Automation Platform subscription:# subscription-manager list --available --all | grep "Ansible Automation Platform" -B 3 -A 6The command returns the following:
Subscription Name: Red Hat Ansible Automation, Premium (5000 Managed Nodes) Provides: Red Hat Ansible Engine Red Hat Ansible Automation Platform SKU: MCT3695 Contract: ```` Pool ID: `````````` Provides Management: No Available: 4999 Suggested: 1Attach the subscription:
# subscription-manager attach --pool=<pool_id>
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