4.7. 下载并安装 Ansible Automation Platform 安装捆绑包
选择安装捆绑包为断开连接的安装下载 Ansible Automation Platform。此捆绑包包括 Ansible Automation Platform 的 RPM 内容以及在安装过程中上传到您的私有自动化中心的默认执行环境镜像。
流程
- 进入 Red Hat Ansible Automation Platform 下载页面并点 for the Ansible Automation Platform 2.4 Setup Bundle 来下载 Ansible Automation Platform setup 捆绑包软件包。
在自动化控制器中,解压捆绑包:
tar xvf \ ansible-automation-platform-setup-bundle-2.4-1.tar.gz cd ansible-automation-platform-setup-bundle-2.4-1
$ tar xvf \ ansible-automation-platform-setup-bundle-2.4-1.tar.gz $ cd ansible-automation-platform-setup-bundle-2.4-1Copy to Clipboard Copied! Toggle word wrap Toggle overflow 编辑清单文件使其包含所需选项:
- automationcontroller 组
- automationhub 组
- 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
以 root 用户身份运行 Ansible Automation Platform setup 捆绑包可执行文件:
sudo -i cd /path/to/ansible-automation-platform-setup-bundle-2.4-1 ./setup.sh
$ sudo -i # cd /path/to/ansible-automation-platform-setup-bundle-2.4-1 # ./setup.shCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 安装完成后,进入安装清单文件中指定的自动化控制器节点的 Fully Qualified Domain Name (FQDN)。
- 使用安装清单文件中指定的管理员凭证登录。
注意
清单文件必须在安装后保持不变,因为它用于备份、恢复和升级功能。将备份副本保存在安全位置,因为清单文件包含密码。