Private Automation Hub のインストールおよびアップグレード


Red Hat Ansible Automation Platform 2.2

Private Automation Hub のインスタンスをインストールするか、オンラインまたはオフラインの Red Hat Enterprise Linux 7 および 8 の物理マシンまたは仮想マシンで新規バージョンへアップグレードします。

Red Hat Customer Content Services

概要

フィードバックの提供:
このドキュメントを改善するための提案がある場合、またはエラーを見つけた場合は、テクニカルサポート (https://access.redhat.com) に連絡し、Docs コンポーネントを使用して Ansible Automation Platform Jira プロジェクトで issue を作成してください。

はじめに

Private Automation Hub をインストールするか、または有効な Red Hat Ansible Automation Platform サブスクリプションを使用して、Red Hat Enterprise Linux 7 または 8 の仮想マシンまたは物理マシンで新規バージョンにアップグレードすることができます。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。まずは、マスター (master)、スレーブ (slave)、ブラックリスト (blacklist)、ホワイトリスト (whitelist) の 4 つの用語の置き換えから始めます。この取り組みは膨大な作業を要するため、今後の複数のリリースで段階的に用語の置き換えを実施して参ります。詳細は、Red Hat CTO である Chris Wright のメッセージ をご覧ください。

第1章 システム要件

Private Automation Hub インスタンスをインストールするには、以下が必要です。

Expand
表1.1 システム要件
 必須

サブスクリプション

有効な Red Hat Ansible Automation Platform

OS

Red Hat Enterprise Linux 7.7 以降 64 ビット (x86) または 8.2 以降 64 ビット (x86)

Ansible

バージョン 2.11 が必要

RAM

最小 4 GB

CPU

最小 2 つ

ディスク

20GB の専用ハードディスクスペース

保存されるコレクションのサイズによって異なります。

ブラウザー

Mozilla Firefox または Google Chrome の現行のサポートバージョン

データベース

PostgreSQL バージョン 13 以降

注記

Ansible Automation Platform と Private Automation Hub インスタンスを同じノードにインストールすることはできません。inventory ファイルは、Ansible Automation Platform と Automation Hub の両方のインストールを処理できます。この手順は、Ansible Automation Platform のインストールのみを対象としています。

第2章 オンラインまたはオフラインインストール

Red Hat Enterprise Linux 環境のインターネット接続に基づいて、Private Automation Hub をインストールするために必要な Ansible Automation Platform インストーラーを選択します。次のシナリオを確認し、ニーズを満たす Ansible Automation Platform インストーラーを決定してください。

注記

Red Hat カスタマーポータルで Ansible Automation Platform インストーラーのダウンロードにアクセスするには、有効な Red Hat カスタマーアカウントが必要です。

インターネットアクセスを使用したインストール

Red Hat Enterprise Linux 環境がインターネットに接続されている場合は、Ansible Automation Platform インストーラーを使用して Private Automation Hub をインストールします。インターネットアクセスを使用してインストールすると、必要な最新のリポジトリー、パッケージ、および依存関係が取得されます。

  1. ダウンロード Red Hat Ansible Automation Platform に移動します。
  2. Ansible Automation Platform <latest-version> SetupDownload Now をクリックします。
  3. ファイルをデプロイメントします。

    $ tar xvzf ansible-automation-platform-setup-<latest-version>.tar.gz
    Copy to Clipboard Toggle word wrap

インターネットアクセスなしでのインストール

インターネットにアクセスできない場合や、オンラインリポジトリーから個別のコンポーネントおよび依存関係をインストールしたくない場合は、Ansible Automation Platform Bundle インストーラーを使用して Private Automation Hub をインストールします。Red Hat Enterprise Linux リポジトリーへのアクセスは依然として必要です。その他の依存関係はすべて tar アーカイブに含まれます。

  1. ダウンロード Red Hat Ansible Automation Platform に移動します。
  2. Ansible Automation Platform <latest-version> Setup BundleDownload Now をクリックします。
  3. ファイルをデプロイメントします。

    $ tar xvzf ansible-automation-platform-setup-bundle-<latest-version>.tar.gz
    Copy to Clipboard Toggle word wrap

第3章 インベントリーファイルの編集

inventory ファイルを編集して Automation Hub のインストールを指定し、必要なパラメーターを更新します。

  1. インストーラーに移動します。

    1. [バンドルのインストーラー]

      $ cd ansible-automation-platform-setup-bundle-<latest-version>
      Copy to Clipboard Toggle word wrap
    2. [オンラインインストーラー]

      $ cd ansible-automation-platform-setup-<latest-version>
      Copy to Clipboard Toggle word wrap
  2. テキストエディターで inventory ファイルを開きます。
  3. inventory ファイルのパラメーターを編集して、Automation Hub ホストのみのインストールを指定します。次の例を参照してください。

    1. [automationcontroller] インベントリー情報は のままにします。
    2. [automationhub] グループホスト情報を追加します。

      注記

      [automationhub] ホストの到達可能な IP アドレスを指定して、ユーザーが別のノードから Private Automation Hub のコンテンツを同期できるようにします。

    3. インストール仕様に基づいて、automationhub_admin_passwordautomation_pg_password、および追加のパラメーターの値を更新します。

      Example

      [automationcontroller]
      
      
      [automationhub]
      <reachable-ip> ansible_connection=local
      
      [all:vars]
      automationhub_admin_password= <PASSWORD>
      
      automationhub_pg_host=''
      automationhub_pg_port=''
      
      automationhub_pg_database='automationhub'
      automationhub_pg_username='automationhub'
      automationhub_pg_password=<PASSWORD>
      automationhub_pg_sslmode='prefer'
      
      # The default install will deploy a TLS enabled Automation Hub.
      # If for some reason this is not the behavior wanted one can
      # disable TLS enabled deployment.
      #
      # automationhub_disable_https = False
      # The default install will generate self-signed certificates for the Automation
      # Hub service. If you are providing valid certificate via automationhub_ssl_cert
      # and automationhub_ssl_key, one should toggle that value to True.
      #
      # automationhub_ssl_validate_certs = False
      # SSL-related variables
      # If set, this will install a custom CA certificate to the system trust store.
      # custom_ca_cert=/path/to/ca.crt
      # Certificate and key to install in Automation Hub node
      # automationhub_ssl_cert=/path/to/automationhub.cert
      # automationhub_ssl_key=/path/to/automationhub.key
      Copy to Clipboard Toggle word wrap

3.1. Automation Hub の Red Hat Single Sign-On 環境への接続

Automation Hub を Red Hat Single Sign-On インストールに接続するには、インストーラー設定スクリプトを実行する前に、inventory ファイルでインベントリー変数を設定します。

Ansible Automation Platform が管理する Red Hat Single Sign-On インストールに接続するには、外部の Red Hat Single Sign-On インストールに接続するのではなく、別の変数セットを設定する必要があります。

Automation Hub と Red Hat Single Sign-On を初めてインストールする場合、または既存の Ansible Automation Platform が管理する Red Hat Single Sign-On がある場合は、Ansible Automation Platform が管理する Red Hat Single Sign-On の変数を設定します。

Automation Hub をインストールし、これを既存の外部で管理される Red Hat Single Sign-On インスタンスに接続する場合は、外部で管理される Red Hat Single Sign-On の変数を設定します。

これらのインベントリー変数の詳細は、Red Hat Ansible Automation Platform インストールガイドRed Hat Single Sign-On 変数 を参照してください。

以下の変数は、Ansible Automation Platform の管理対象および外部の Red Hat Single Sign-On の両方に対して設定できます。

Expand
変数必須またはオプション

*_sso_console_admin_password

必須

sso_console_admin_username

オプション

*_sso_use_https

オプション

sso_redirect_host

オプション

sso_ssl_validate_certs

オプション

sso_automation_platform_realm

オプション

sso_automation_platform_realm_displayname

オプション

sso_automation_platform_login_theme

オプション

以下の変数は、Ansible Automation Platform が管理する Red Hat Single Sign-On にのみ設定できます。

Expand
変数必須またはオプション

*_sso_keystore_password

sso_use_https = true の場合のみ必須

sso_custom_keystore_file

オプション

sso_keystore_file_remote

オプション

sso_keystore_name

オプション

以下の変数は、外部 Red Hat Single Sign-On にのみ設定できます。

Expand
変数説明

sso_host

必須

第4章 設定スクリプトを使用した Automation Hub のインストール

適切なインベントリー変数を設定した後に、インストーラー設定スクリプトを実行します。

4.1. 設定スクリプトの実行

Private Automation Hub のインストールに必要なパラメーターを使用して inventory ファイルを更新したら、setup スクリプトを実行できます。

  • setup.sh スクリプトを実行してインストールを開始します。

    $ ./setup.sh
    Copy to Clipboard Toggle word wrap

4.2. Red Hat Single Sign-On 接続の確認

インストーラーは Red Hat Single Sign-On 変数を使用して Keycloak レルムおよびクライアントを設定します。

既存の Red Hat Single Sign-On インストールに正常に接続されていることを確認するには、settings.py に Red Hat Single Sign-On ホスト情報、レルム名、キー、およびシークレットが含まれていることを確認します。

第5章 インストールの検証

インストールが完了したら、次の手順で Private Automation Hub が正常にインストールされたことを確認できます。

  1. Private Automation Hub に移動します。
  2. inventory ファイルに設定した管理者の認証情報を使用してログインします。

これで、Private Automation Hub の初期設定の準備が整いました。詳細は、以下の管理ガイドを参照してください。

第6章 最新バージョンへのアップグレード

Private Automation Hub は、Ansible Automation Platform 設定バンドルインストーラーを使用して最新バージョンにアップグレードできます。Private Automation Hub のインストール時に設定された inventory ファイルを使用して、このアップグレードを実行します。

  1. ダウンロード Red Hat Ansible Automation Platform に移動します。
  2. Ansible Automation Platform <latest-version> Setup BundleDownload Now をクリックします。
  3. ファイルをデプロイメントします。

    $ tar xvzf ansible-automation-platform-setup-bundle-<latest-version>.tar.gz
    Copy to Clipboard Toggle word wrap
  4. 初期インストールから inventory ファイルに設定情報をコピーします。
  5. setup.sh スクリプトを実行します。

    $ ./setup.sh
    Copy to Clipboard Toggle word wrap

アップグレードの確認

Server version 情報を確認して、Private Automation Hub へのアップグレードが成功したことを確認できます。

  1. Private Automation Hub にログインします。
  2. ナビゲーションバーのアイコンの ? をクリックします。
  3. About をクリックします。
  4. server version がアップグレードしたバージョンと一致していることを確認します。

法律上の通知

Copyright © 2023 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat