Red Hat Ansible Inside インストールガイド
Red Hat Inside をインストールして設定する
概要
Red Hat ドキュメントへのフィードバック (英語のみ) リンクのコピーリンクがクリップボードにコピーされました!
このドキュメントの改善に関するご意見がある場合や、エラーを発見した場合は、https://access.redhat.com から Technical Support チームに連絡してください。
第1章 はじめに リンクのコピーリンクがクリップボードにコピーされました!
Red Hat Ansible Inside 1.2 は、Ansible Executor (ランナー)、Ansible Core、Ansible Navigator、Ansible Builder、および Ansible Execution Environment の製品バンドルです。Ansible Inside を使用することで、Red Hat パートナーは Ansible コンポーネントのコマンドラインインターフェイスから、Ansible の自動化をお使いのアプリケーションに統合できます。
第2章 Red Hat Ansible Inside のインストール リンクのコピーリンクがクリップボードにコピーされました!
Red Hat Subscription Manager (RHSM) を使用して、次の Red Hat Ansible Inside コンポーネントをインストールできます。または、Red Hat レジストリーからダウンロードすることもできます。
- Ansible Core (RHSM 経由でインストール)
- Ansible Executor (ランナー) (RHSM 経由でインストール)
- Ansible Navigator (RHSM 経由でインストール)
- Ansible Builder (RHSM 経由でインストール)
- Ansible SDK (RHSM 経由でインストール)
- Ansible 実行環境 (Red Hat レジストリー経由でダウンロード)
すべての RHSM コンポーネントは、一括インストール、または個別インストールが可能です。
2.1. 前提条件 リンクのコピーリンクがクリップボードにコピーされました!
Ansible Inside の要件として、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.2-for-rhel-8-x86_64-rpms
sudo subscription-manager repos --enable=ansible-inside-1.2-for-rhel-8-x86_64-rpms
- RHEL 9
sudo subscription-manager repos --enable=ansible-inside-1.2-for-rhel-9-x86_64-rpms
sudo subscription-manager repos --enable=ansible-inside-1.2-for-rhel-9-x86_64-rpms
リポジトリーが有効になったら、Ansible コンポーネントのインストールに進むことができます。
2.2. Red Hat Subscription Manager (RHSM) を使用したインストール リンクのコピーリンクがクリップボードにコピーされました!
2.2.1. 一括 RHSM リンクのコピーリンクがクリップボードにコピーされました!
すべてのコンポーネントを一度にインストールするには、次のコマンドを実行します。
- RHEL 8
sudo dnf install ansible-navigator ansible-core ansible-builder ansible-runner python39-ansible-sdk
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
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
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
- RHEL 8
sudo dnf install python39-ansible-sdk
sudo dnf install python39-ansible-sdk
- RHEL 9
sudo dnf install python3-ansible-sdk
sudo dnf install python3-ansible-sdk
2.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-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-supported は、Red Hat Ansible Automation Platform で使用する自動化実行環境です。ee-supported には、Red Hat がサポートする ansible-core 2.15 および自動化コンテンツコレクションが含まれています。
イメージのプルの例
すべてのイメージは、Podman やその他の手段を使用して取得できます。次の例では、Podman pull を使用します。
利用可能なその他のインストール方法は、catalog.redhat.com を参照してください。