You can run Ansible automation in containers, like any other modern software application. Ansible uses container images known as Execution Environments (EE) that act as control nodes. EEs remove complexity to scale out automation projects and make things like deployment operations much more straightforward.
An Execution Environment image contains the following packages as standard:
ansible-coreansible-runnerIn addition to the standard packages, an EE can also contain:
This getting started guide shows you how to build and test a simple Execution Environment. The resulting container image represents an Ansible control node that contains:
community.postgresql collectionpsycopg2-binary Python package
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/getting_started_ee/index.html