4.6. Ansible Automation Platform セットアップバンドルのインストール
非接続インストールには、“バンドル” バージョンを強く推奨します。これには、Ansible Automation Platform の RPM コンテンツと、インストールプロセス中に Private Automation Hub にアップロードされるデフォルトの実行環境イメージが含まれているためです。
4.6.1. セットアップバンドルのダウンロード
手順
- https://access.redhat.com/downloads/content/480 に移動して Ansible Automation Platform 2.4 セットアップバンドルの をクリックし、AAP セットアップバンドルパッケージをダウンロードします。
4.6.1.1. セットアップバンドルのインストール
セットアップバンドルのダウンロードとインストールは、Automation Controller 上に配置する必要があります。Automation Controller から、バンドルを展開し、インベントリーファイルを編集してセットアップを実行します。
バンドルを展開します。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow tar xvf \ ansible-automation-platform-setup-bundle-2.3-1.2.tar.gz cd ansible-automation-platform-setup-bundle-2.3-1.2
$ tar xvf \ ansible-automation-platform-setup-bundle-2.3-1.2.tar.gz $ cd ansible-automation-platform-setup-bundle-2.3-1.2
インベントリーファイルを編集して、必要なオプションを含めます。
- automationcontroller group
- automationhub group
- admin_password
- pg_password
- automationhub_admin_password
- automationhub_pg_host, automationhub_pg_port
automationhub_pg_password
インベントリーの例
Copy to Clipboard Copied! Toggle word wrap Toggle overflow [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'
[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'
注記インベントリーはバックアップ、復元、およびアップグレード機能に使用されるため、インストール後もそのまま維持する必要があります。インベントリーファイルにパスワードが含まれている場合は、バックアップコピーをセキュアな場所に保管することを検討してください。
root ユーザーとして AAP セットアップバンドルの実行可能ファイルを実行します。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow sudo -i cd /path/to/ansible-automation-platform-setup-bundle-2.3-1.2 ./setup.sh
$ sudo -i # cd /path/to/ansible-automation-platform-setup-bundle-2.3-1.2 # ./setup.sh
- インストールが完了したら、インストールインベントリーファイルで指定された Automation Controller ノードの完全修飾ドメイン名 (FQDN) に移動します。
- インストールインベントリーファイルで指定された管理者認証情報を使用してログインします。