Interview Prep/Ansible/Roles, Collections and Galaxy

What is an Execution Environment (EE)?

AdvancedConceptRoles, Collections and Galaxy
Answer

An EE is a container image that packages ansible-core (via ansible-runner), the collections, Python libraries and system packages your automation needs. It removes "works on my laptop" drift: the same image runs in a developer's terminal and in AWX/AAP.

# execution-environment.yml
version: 3
images:
  base_image:
    name: quay.io/ansible/community-ee-base:latest
dependencies:
  galaxy: requirements.yml
  python: requirements.txt
  system: bindep.txt
ansible-builder build -t registry.example.com/ee-platform:1.0 .
All Ansible questions Roadmap: Ansible

More on Roles, Collections and Galaxy