Interview Prep/Ansible/Rapid-Fire Commands

How do you build an Execution Environment image?

IntermediateProductionRapid-Fire Commands
Answer
pip install ansible-builder
ansible-builder create -f execution-environment.yml        # only generate the build context
ansible-builder build -f execution-environment.yml \
  -t registry.example.com/ee-platform:1.8.0 --container-runtime podman
podman push registry.example.com/ee-platform:1.8.0

create is handy for reviewing the generated Containerfile in context/ before building.

All Ansible questions Roadmap: Ansible

More on Rapid-Fire Commands