1.3. Red Hat Ansible Automation Platform 서브스크립션 연결

Red Hat Ansible Automation Platform을 설치하기 전에 모든 노드에 유효한 서브스크립션이 있어야 합니다. Ansible Automation Platform 서브스크립션을 연결하면 설치를 진행하는 데 필요한 하위 전용 리소스에 액세스할 수 있습니다.

참고

Red Hat 계정에서 Simple Content Access Mode 를 활성화한 경우 서브스크립션을 연결할 필요가 없습니다. 활성화하면 Ansible Automation Platform을 설치하기 전에 시스템을 RHSM(Red Hat Subscription Management) 또는 Satellite에 등록해야 합니다. 자세한 내용은 Simple Content Access Mode 를 참조하십시오.

절차

  1. Red Hat Ansible Automation Platform 서브스크립션의 pool_id 를 가져옵니다.

    # subscription-manager list --available --all | grep "Ansible Automation Platform" -B 3 -A 6

    예제

    subsciption-manager list 명령의 출력 예. Pool ID: 섹션에 표시된 pool_id 를 가져옵니다.

    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: <pool_id>
      Provides Management: No
      Available: 4999
      Suggested: 1
  2. 서브스크립션을 연결합니다.

    # subscription-manager attach --pool=<pool_id>

이제 Red Hat Ansible Automation Platform 서브스크립션을 모든 노드에 연결했습니다.

검증

  • 서브스크립션이 성공적으로 연결되었는지 확인합니다.
# subscription-manager list --consumed

문제 해결

  • Ansible Automation Platform 설치 프로그램과 함께 제공된 특정 패키지를 찾을 수 없거나 구성 메시지로 비활성화된 리포지토리 가 표시되면 명령을 사용하여 리포지토리를 활성화하십시오.

    Red Hat Ansible Automation Platform 2.2 for RHEL 8

    subscription-manager repos --enable ansible-automation-platform-2.2-for-rhel-8-x86_64-rpms

    Red Hat Ansible Automation Platform 2.2 for RHEL 9

    subscription-manager repos --enable ansible-automation-platform-2.2-for-rhel-9-x86_64-rpms