4.7. Ansible Automation Platform 설치 번들 다운로드 및 설치
연결 해제된 설치를 위해 Ansible Automation Platform을 다운로드할 설치 번들을 선택합니다. 이 번들에는 Ansible Automation Platform용 RPM 콘텐츠 및 설치 프로세스 중에 프라이빗 자동화 허브에 업로드할 기본 실행 환경 이미지가 포함되어 있습니다.
절차
- Red Hat Ansible Automation Platform 다운로드 페이지로 이동한 후 Ansible Automation Platform 2.4 설치 번들에 대한 . 클릭하여 Ansible Automation Platform 설치 번들 패키지를 다운로드합니다
자동화 컨트롤러에서 번들의 압축을 풉니다.
$ tar xvf \ ansible-automation-platform-setup-bundle-2.4-1.tar.gz $ cd ansible-automation-platform-setup-bundle-2.4-1
필요한 옵션을 포함하도록 인벤토리 파일을 편집합니다.
- Automationcontroller 그룹
- automationhub 그룹
- admin_password
- pg_password
- automationhub_admin_password
- automationhub_pg_host, automationhub_pg_port
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'
Ansible Automation Platform 설치 번들 실행 파일을 root 사용자로 실행합니다.
$ sudo -i # cd /path/to/ansible-automation-platform-setup-bundle-2.4-1 # ./setup.sh
- 설치가 완료되면 설치 인벤토리 파일에 지정된 자동화 컨트롤러 노드의 FQDN(정규화된 도메인 이름)으로 이동합니다.
- 설치 인벤토리 파일에 지정된 관리자 자격 증명을 사용하여 로그인합니다.
참고
백업, 복원 및 업그레이드 기능에 사용되므로 인벤토리 파일을 설치 후 그대로 유지해야 합니다. 인벤토리 파일에 암호가 포함된 경우 백업 사본을 안전한 위치에 보관합니다.