第 2 章 在 RHEL 上安装自动化内容导航器

作为内容创建者,您可以在 Red Hat Enterprise Linux (RHEL) 8.6 或更高版本上安装自动化内容导航器。

2.1. 从 RPM 安装 RHEL 上的自动化内容导航器

您可以从 RPM 在 Red Hat Enterprise Linux (RHEL) 上安装自动化内容导航程序。

先决条件

  • 已安装 RHEL 8.6 或更高版本。
  • 使用 Red Hat Subscription Manager 注册了您的系统。
注意

确保您只安装与当前 Red Hat Ansible Automation Platform 环境匹配的导航程序。

流程

  1. 附加 Red Hat Ansible Automation Platform SKU。

    $ subscription-manager attach --pool=<sku-pool-id>
  2. 使用以下命令安装自动化内容导航器:

    v.2.4 for RHEL 8 for x86_64

    $ sudo dnf install --enablerepo=ansible-automation-platform-2.4-for-rhel-8-x86_64-rpms ansible-navigator

    v.2.4 for RHEL 9 for x86-64

    $ sudo dnf install --enablerepo=ansible-automation-platform-2.4-for-rhel-9-x86_64-rpms ansible-navigator

验证

  • 验证自动化内容导航器安装:

    $ ansible-navigator --help

以下示例演示了成功安装:

自动化内容导航器成功安装