此内容没有您所选择的语言版本。
Chapter 1. Introduction to automation execution environments
Using Ansible content that depends on non-default dependencies can be complicated because the packages must be installed on each node, interact with other software installed on the host system, and be kept in sync.
You must use the same environment during development, testing and in production. Red Hat provides execution environments for this purpose.
Automation execution environments help simplify this process and you can easily create them with Ansible Builder.
Builder Builder is a command line tool that makes it easy to build, test, and publish container images for use as Ansible execution environments.
Ansible provides an Execution Environment Utilities Collection, infra.ee_utilities. Red Hat provides execution environments for this purpose. This is a collection of roles for creating and managing images, or migrating from the older Tower virtualenvs to execution environment. Using this collection, you can automate the preparation and maintenance of Ansible execution environments.
1.1. About automation execution environments 复制链接链接已复制到粘贴板!
All automation in Red Hat Ansible Automation Platform runs on container images called automation execution environments. Automation execution environments create a common language for communicating automation dependencies, and offer a standard way to build and distribute the automation environment.
Red Hat provides supported execution environments for you to use in the Red Hat ecosystem catalog.
An automation execution environment should contain the following:
- Ansible Core 2.16 or later
- Python 3.11 or later
- Ansible Runner
- Ansible content collections and their dependencies
- System dependencies
1.1.1. Why use automation execution environments 复制链接链接已复制到粘贴板!
With automation execution environments, Red Hat Ansible Automation Platform has transitioned to a distributed architecture by separating the control plane from the execution plane.
Keeping automation execution independent of the control plane results in faster development cycles and improves scalability, reliability, and portability across environments. Red Hat Ansible Automation Platform also includes access to Ansible content tools, making it easy to build and manage automation execution environments.
In addition to speed, portability, and flexibility, automation execution environments give the following benefits:
- They ensure that automation runs consistently across many platforms and make it possible to incorporate system-level dependencies and collection-based content.
- They give Red Hat Ansible Automation Platform administrators the ability to supply and manage automation environments to meet the needs of different teams.
- Automation execution environmentss enable automation teams to define, build, and update their automation environments themselves. System administrators can supply execution environments, but each organization administrator can also supply their own.
- They allow automation to be easily scaled and shared between teams by providing a standard way of building and distributing the automation environment.