Red Hat Ansible 내부 설치 가이드
Red Hat 내부 설치 및 구성
초록
Red Hat 문서에 관한 피드백 제공
이 문서를 개선하기 위한 제안이 있거나 오류를 찾을 수 있는 경우 https://access.redhat.com 에서 기술 지원에 문의하여 요청을 열 수 있습니다.
1장. 소개
Red Hat Ansible Inside 1.3은 Ansible Executor(runner), Ansible Core, Ansible Automation 콘텐츠 탐색기, Ansible 빌더 및 Ansible 자동화 실행 환경의 제품 번들입니다. Ansible Inside를 사용하면 Ansible 구성 요소의 명령줄 인터페이스를 사용하여 Red Hat 파트너가 애플리케이션 내에서 Ansible 자동화를 통합할 수 있습니다.
2장. Red Hat Ansible 내부 설치
RHSM(Red Hat Subscription Manager)을 사용하여 다음 Red Hat Ansible Inside 구성 요소를 설치할 수 있습니다. 또는 Red Hat Registry에서 다운로드할 수 있습니다.
- Ansible Core ( RHSM을 통해 설치)
- Ansible Executor (runner) ( RHSM을 통해 설치됨)
- Ansible Navigator ( RHSM을 통해 설치)
- Ansible Builder( RHSM을 통해 설치)
- Ansible SDK ( RHSM을 통해 설치)
- Ansible 실행 환경(Red Hat Registry를 통해 다운로드됨)
모든 RHSM 구성 요소를 All-In-One 또는 개별적으로 설치할 수 있습니다.
2.1. 사전 요구 사항
Ansible Inside에는 Ansible Inside SKU에 유효한 서브스크립션이 필요하며 해당 RHSM(Red Hat Subscription Manager) 리포지토리의 활성화가 필요합니다.
Ansible 내부 서브스크립션을 구매하거나 연결하려면 Red Hat 고객 지원 또는 Red Hat 영업 팀에 문의하십시오.
Red Hat Subscription Manager 내에서 유효한 Ansible Inside 서브스크립션이 조직에 연결되면 다음과 같이 필요한 리포지토리를 활성화할 수 있습니다.
- RHEL 8
sudo subscription-manager repos --enable=ansible-inside-1.3-for-rhel-8-x86_64-rpms
- RHEL 9
sudo subscription-manager repos --enable=ansible-inside-1.3-for-rhel-9-x86_64-rpms
리포지토리가 활성화되면 Ansible 구성 요소 설치를 진행할 수 있습니다.
2.2. RHSM(Red Hat Subscription Manager)으로 설치
2.2.1. all-in-One RHSM
모든 구성 요소를 한 번에 설치하려면 다음 명령을 실행합니다.
- RHEL 8
sudo dnf install ansible-navigator ansible-core ansible-builder ansible-runner python39-ansible-sdk
- RHEL 9
sudo dnf install ansible-navigator ansible-core ansible-builder ansible-runner python3-ansible-sdk
2.2.2. 개별 RHSM
다음 명령을 사용하여 필요에 필요한 구성 요소만 개별적으로 설치할 수 있습니다.
Ansible Core
sudo dnf install ansible-core
Ansible Builder
sudo dnf install ansible-builder
Ansible Runner
sudo dnf install ansible-runner
Ansible Navigator
sudo dnf install ansible-navigator
Ansible SDK
- RHEL 8
sudo dnf install python39-ansible-sdk
- RHEL 9
sudo dnf install python3-ansible-sdk
2.3. Red Hat Registry에서 다운로드
자동화 실행 환경은 Ansible Inside에서 Ansible 자동화를 실행하는 기준으로 사용하거나 Ansible Builder와 함께 사용하여 필요에 맞게 확장된 자동화 호환성을 제공할 수 있습니다.
2.3.1. RHEL 9 실행 환경
RHEL 9에서 사용할 수 있는 Red Hat 지원 실행 환경은 다음과 같습니다.
- 호환성 실행 환경(
ansible-automation-platform-24/ee-216-rhel9
) -
EE-216
에는 이전 버전의 Red Hat Ansible Automation Platform용으로 작성된 플레이북 및 콘텐츠와의 호환성을 위해 ansible 2.16이 포함되어 있습니다. - 최소한의 실행 환경
ansible-automation-platform-24/ee-minimal-rhel9
) -
EE-minimal
은 Red Hat Ansible Automation Platform의 자동화 실행 환경입니다.ee-minimal
에는 ansible-core 2.16이 포함되어 있습니다. - 지원되는 실행 환경(
ansible-automation-platform-24/ee-supported-rhel9
) -
EE 지원 서비스는
Red Hat Ansible Automation Platform에서 사용할 수 있는 자동화 실행 환경입니다.EE 지원에
는 ansible-core 2.16 및 Red Hat에서 지원하는 자동화 콘텐츠 컬렉션이 포함되어 있습니다.
2.3.2. RHEL 8 실행 환경
RHEL 8에서 사용할 수 있는 Red Hat 지원 실행 환경은 다음과 같습니다.
- 호환성 실행 환경(
ansible-automation-platform-24/ee-216-rhel8
) -
EE-216
에는 이전 버전의 Red Hat Ansible Automation Platform용으로 작성된 플레이북 및 콘텐츠와의 호환성을 위해 ansible 2.16이 포함되어 있습니다. - 최소한의 실행 환경
ansible-automation-platform-24/ee-minimal-rhel8
) -
EE-minimal
은 Red Hat Ansible Automation Platform의 자동화 실행 환경입니다.ee-minimal
에는 ansible-core 2.15가 포함되어 있습니다. - 지원되는 실행 환경(
ansible-automation-platform-24/ee-supported-rhel8
) -
EE 지원 서비스는
Red Hat Ansible Automation Platform에서 사용할 수 있는 자동화 실행 환경입니다.EE 지원에
는 ansible-core 2.15 및 Red Hat에서 지원하는 자동화 콘텐츠 컬렉션이 포함되어 있습니다.
이미지 가져오기 예
Podman과 같은 컨테이너 엔진을 사용하여 이미지를 가져올 수 있습니다. 다음 예제에서는 podman pull
을 사용합니다.
$ podman login registry.redhat.io Username: {REGISTRY-SERVICE-ACCOUNT-USERNAME} Password: {REGISTRY-SERVICE-ACCOUNT-PASSWORD} Login Succeeded! $ podman pull registry.redhat.io/ansible-automation-platform/ee-minimal-rhel8:2.16.9-2
사용 가능한 다른 설치 방법은 catalog.redhat.com을 참조하십시오.