第 1 章 基于 Red Hat Package Manager 的安装


如果您有一个基于 Ansible Automation Platform 2.4 Red Hat Package Manager (RPM)的自动化控制器安装(4.4 或 4.5),您可以执行一个新的 Ansible Automation Platform 2.5 安装,它具有 Event-Driven Ansible 控制器 1.1,并将两个安装配置为协同工作。

如果您没有基于 Ansible Automation Platform 2.4 RPM 的自动化控制器安装,请参阅 Red Hat Ansible Automation Platform 安装指南,确保您使用 Ansible Automation Platform 2.4 安装程序。

执行基于 Event-Driven Ansible 控制器 1.1 的新 Ansible Automation Platform 2.5 RPM 安装,并将其配置为使用自动化控制器 4.4 或 4.5 的现有 Ansible Automation Platform 2.4 安装。

先决条件

  • 基于 RPM 的、带有自动化控制器版本 4.4 或 4.5 的 Ansible Automation Platform 2.4 的现有安装。

流程

  1. 按照安装 Red Hat Ansible Automation Platform 部分的内容进行操作,并确保下载基于 RPM 的安装程序的 Ansible Automation Platform 2.5 版本。https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html-single/rpm_installation/index
  2. 使用以下示例填充清单文件,以部署一个新的 Event-Driven Ansible 控制器 1.1 实例:

    # This is the Ansible Automation Platform mixed enterprise installer inventory file
    # Consult the docs if you are unsure what to add
    # For all optional variables consult the Red Hat documentation:
    # https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation
    
    # This section is for your platform gateway hosts
    # -----------------------------------------------------
    [automationgateway]
    gateway1.example.org
    gateway2.example.org
    gateway3.example.org
    
    # This section is for your Event-Driven Ansible controller hosts
    # -----------------------------------------------------
    [automationedacontroller]
    eda1.example.org
    eda2.example.org
    eda3.example.org
    
    [redis]
    gateway1.example.org
    gateway2.example.org
    gateway3.example.org
    eda1.example.org
    eda2.example.org
    eda3.example.org
    
    [all:vars]
    # Common variables
    # https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-general-inventory-variables
    # -----------------------------------------------------
    registry_username=<your RHN username>
    registry_password=<your RHN password>
    
    # Platform gateway
    # https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#ref-gateway-variables
    # -----------------------------------------------------
    automationgateway_admin_password=<set your own>
    automationgateway_pg_host=<set your own>
    automationgateway_pg_database=<set your own>
    automationgateway_pg_username=<set your own>
    automationgateway_pg_password=<set your own>
    
    # Event-Driven Ansible controller
    # https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.5/html/rpm_installation/appendix-inventory-files-vars#event-driven-ansible-controller
    # -----------------------------------------------------
    automationedacontroller_admin_password=<set your own>
    automationedacontroller_pg_host=<set your own>
    automationedacontroller_pg_database=<set your own>
    automationedacontroller_pg_username=<set your own>
    automationedacontroller_pg_password=<set your own>
    Copy to Clipboard Toggle word wrap
    注意

    将控制器退出清单文件。确保 [automationcontroller] 是一个空组。仅添加 Event-Driven Ansible 2.5 服务器。不要添加 Event-Driven Ansible 2.4 服务器,因为没有可用的升级选项

  3. 继续安装 Red Hat Ansible Automation Platform 中的步骤。
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat