2.3. 从 Red Hat Registry 下载执行环境


Ansible 中的自动化执行环境用作执行 Ansible 自动化的基准,或者可用于 Ansible Builder 以提供扩展自动化兼容性以满足您的需求。

2.3.1. RHEL 9 执行环境

以下红帽支持的执行环境可用于 RHEL 9:

兼容性执行环境(ansible-automation-platform-24/ee-216-rhel9)
EE-216 包含 ansible 2.16,用于与之前 Red Hat Ansible Automation Platform 版本编写的 playbook 和内容兼容。
最小执行环境 ansible-automation-platform-24/ee-minimal-rhel9
EE-minimal 是 Red Hat Ansible Automation Platform 的自动化执行环境。ee-minimal 包含 ansible-core 2.16。
支持的执行环境(ansible-automation-platform-24/ee-supported-rhel9)
EE 支持 是一个自动化执行环境,用于 Red Hat Ansible Automation Platform。ee-supported 包括 ansible-core 2.16 以及红帽支持的自动化内容集合。

2.3.2. RHEL 8 执行环境

以下红帽支持的执行环境可用于 RHEL 8:

兼容性执行环境(ansible-automation-platform-24/ee-216-rhel8)
EE-216 包含 ansible 2.16,用于与之前 Red Hat Ansible Automation Platform 版本编写的 playbook 和内容兼容。
最小执行环境 ansible-automation-platform-24/ee-minimal-rhel8
EE-minimal 是 Red Hat Ansible Automation Platform 的自动化执行环境。ee-minimal 包含 ansible-core 2.15。
支持的执行环境(ansible-automation-platform-24/ee-supported-rhel8)
EE 支持 是一个自动化执行环境,用于 Red Hat Ansible Automation Platform。ee-supported 包括 ansible-core 2.15 以及红帽支持的自动化内容集合。

2.3.3. 从 Red Hat registry 中拉取执行环境

您可以使用 Podman 等容器引擎从 Red Hat registry 中拉取执行环境镜像。以下流程使用 podman pull。有关其他可用的安装方法,请参阅 catalog.redhat.com。

  1. 登录到红帽 registry。

    $ podman login registry.redhat.io
    Username: {REGISTRY-SERVICE-ACCOUNT-USERNAME}
    Password: {REGISTRY-SERVICE-ACCOUNT-PASSWORD}
    Login Succeeded!
    Copy to Clipboard Toggle word wrap
  2. 运行以下命令来拉取执行环境。

    $ podman pull registry.redhat.io/ansible-automation-platform/<execution-env-name>
    Copy to Clipboard Toggle word wrap

    使用您要使用的执行环境替换 <execution-env-name>

    例如,以下命令拉取 RHEL8 最小执行环境:

    $ podman pull registry.redhat.io/ansible-automation-platform/ee-minimal-rhel8:2.16.9-2
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2026 Red Hat
返回顶部