Red Hat Ansible Inside インストールガイド
Red Hat Inside をインストールして設定する
概要
Red Hat ドキュメントへのフィードバック (英語のみ)
このドキュメントの改善に関するご意見がある場合や、エラーを発見した場合は、https://access.redhat.com から Technical Support チームに連絡してください。
第1章 Red Hat Ansible Inside のインストール
1.1. 概要
Red Hat Ansible Inside 1.1 は、Ansible Executor (ランナー)、Ansible Core、Ansible Navigator、Ansible Builder、および Ansible Execution Environment の製品バンドルです。Ansible Inside を使用することで、Red Hat パートナーは Ansible コンポーネントのコマンドラインインターフェイスから、Ansible の自動化をお使いのアプリケーションに統合できます。
1.2. 前提条件
Ansible Inside 1.1 の要件として、Ansible Inside SKU に対するサブスクリプションが有効であり、対応する Red Hat Subscription Manager (RHSM) リポジトリーを有効化することが挙げられます。
Ansible Inside サブスクリプションの購入または割り当てについては、Red Hat カスタマーサポートまたは Red Hat セールスにお問い合わせください。
Red Hat Subscription Manager 内の組織に、有効な Ansible Inside サブスクリプションを割り当てた後に、次のように必要なリポジトリーを有効にできます。
- RHEL 8
sudo subscription-manager repos --enable=ansible-inside-1.1-for-rhel-8-x86_64-rpms
sudo subscription-manager repos --enable=ansible-inside-1.1-for-rhel-8-x86_64-rpms
- RHEL 9
sudo subscription-manager repos --enable=ansible-inside-1.1-for-rhel-9-x86_64-rpms
sudo subscription-manager repos --enable=ansible-inside-1.1-for-rhel-9-x86_64-rpms
リポジトリーが有効になったら、Ansible コンポーネントのインストールに進むことができます。
1.3. インストール
Red Hat Subscription Manager (RHSM) を使用して、次の Red Hat Ansible Inside 1.1 コンポーネントをインストールできます。または、Red Hat レジストリーからダウンロードすることもできます。
- Ansible Core (RHSM 経由でインストール)
- Ansible Executor (ランナー) (RHSM 経由でインストール)
- Ansible Navigator (RHSM 経由でインストール)
- Ansible Builder (RHSM 経由でインストール)
- Ansible SDK (RHSM 経由でインストール)
- Ansible 実行環境 (Red Hat レジストリー経由でダウンロード)
すべての RHSM コンポーネントは、一括インストール、または個別インストールが可能です。
1.3.1. 一括 RHSM
すべてのコンポーネントを一度にインストールするには、次のコマンドを実行します。
sudo dnf install ansible-navigator ansible-core ansible-builder ansible-runner ansible-sdk
sudo dnf install ansible-navigator ansible-core ansible-builder ansible-runner ansible-sdk
1.3.2. 個別の RHSM
次のコマンドを使用して、必要なコンポーネントのみを個別にインストールできます。
Ansible Core
sudo dnf install ansible-core
sudo dnf install ansible-core
Ansible Builder
sudo dnf install ansible-builder
sudo dnf install ansible-builder
Ansible Runner
sudo dnf install ansible-runner
sudo dnf install ansible-runner
Ansible Navigator
sudo dnf install ansible-navigator
sudo dnf install ansible-navigator
Ansible SDK
sudo dnf install ansible-sdk
sudo dnf install ansible-sdk
1.3.3. Red Hat レジストリーからダウンロード
Ansible Execution Environment は、Ansible Automation を実行するためのベースラインとして Ansible Inside で使用されます。または、Ansible Builder で使用して、ニーズに合わせて自動化の互換性を拡張することもできます。
Red Hat がサポートする利用可能な実行環境は次のとおりです。
- 互換実行環境 (ansible-automation-platform-24/ee-29-rhel8)
- ee-29 には ansible 2.9 が含まれており、以前のバージョンの Ansible Automation Platform 用に作成された Playbook およびコンテンツとの互換性があります。
- 最小限の実行環境 (ansible-automation-platform-23/ee-minimal-rhel8)
- ee-minimal は、Red Hat Ansible Automation Platform の自動化実行環境です。ee-minimal には ansible-core 2.13 が含まれています。
- 対応実行環境 (ansible-automation-platform-23/ee-supported-rhel8)
- ee-supported は、Red Hat Ansible Automation Platform で使用する自動化実行環境です。ee-supported には、Red Hat がサポートする ansible-core 2.13 および自動化コンテンツコレクションが含まれています。
イメージのプルの例
すべてのイメージは、Podman やその他の手段を使用して取得できます。Podman プルの例を次に示します。
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.13.4-1
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.13.4-1
利用可能なその他のインストール方法については、catalog.redhat.com を参照してください。