4.6. AAP 설치 번들 설치

"번들" 버전은 AAP의 RPM 콘텐츠뿐만 아니라 설치 프로세스 중에 Private Automation Hub에 업로드할 기본 실행 환경 이미지와 함께 제공되므로 연결이 끊긴 설치에 강력히 권장됩니다.

4.6.1. 설치 번들 다운로드

절차

  1. https://access.redhat.com/downloads/content/480 로 이동하여 AAP 설치 번들 패키지를 다운로드하고 Ansible Automation Platform 2.3 Setup Bundle으로 지금 다운로드를 클릭합니다.

4.6.1.1. 설치 번들 설치

설정 번들의 다운로드 및 설치는 자동화 컨트롤러에 있어야 합니다. 컨트롤러에서 번들의 압축을 풀고 인벤토리 파일을 편집하고 설정을 실행합니다.

  1. 번들의 압축 해제

    $ tar xvf \
       ansible-automation-platform-setup-bundle-2.3-1.2.tar.gz
    $ cd ansible-automation-platform-setup-bundle-2.3-1.2
  2. 필요한 옵션을 포함하도록 인벤토리 파일 편집

    1. Automationcontroller 그룹
    2. automationhub 그룹
    3. admin_password
    4. pg_password
    5. automationhub_admin_password
    6. automationhub_pg_host, automationhub_pg_port
    7. automationhub_pg_password

      인벤토리 예

      [automationcontroller]
      automationcontroller.example.org ansible_connection=local
      
      [automationcontroller:vars]
      peers=execution_nodes
      
      [automationhub]
      automationhub.example.org
      
      [all:vars]
      admin_password='password123'
      
      pg_database='awx'
      pg_username='awx'
      pg_password='dbpassword123'
      
      receptor_listener_port=27199
      
      automationhub_admin_password='hubpassword123'
      
      automationhub_pg_host='automationcontroller.example.org'
      automationhub_pg_port='5432'
      
      automationhub_pg_database='automationhub'
      automationhub_pg_username='automationhub'
      automationhub_pg_password='dbpassword123'
      automationhub_pg_sslmode='prefer'
      참고

      인벤토리는 설치 후 백업, 복원 및 업그레이드 기능에 사용되므로 그대로 유지해야 합니다. 인벤토리 파일에 암호가 포함된 경우 백업 사본을 안전한 위치에 보관하는 것이 좋습니다.

  3. root 사용자로 AAP 설정 번들 실행 파일을 실행합니다.

    $ sudo -i
    # cd /path/to/ansible-automation-platform-setup-bundle-2.3-1.2
    # ./setup.sh
  4. 설치가 완료되면 설치 인벤토리 파일에 지정된 자동화 컨트롤러 노드의 FQDN(정규화된 도메인 이름)으로 이동합니다.
  5. 설치 인벤토리 파일에 지정된 관리자 인증 정보로 로그인합니다.