EE Dev Containers
Ansible Execution Environments
(EEs) are container images that bundle Ansible, collections, and dependencies.
This extension uses VS Code Dev Containers for EE-based development (see
ADR-003)
rather than routing host commands through docker run / podman run.
Full guide
Section titled “Full guide”See Dev Containers under Editor Integration for:
- Using a Dev Container day to day
- Adding a
.devcontainer/file with ansible-creator (ac_add_res_devc/ CLI) - Layering
ansible-dev-toolsonto an EE (outer Containerfile or EE definition) - Podman path, SSH agent, and C-in-C
runArgsnotes
Quick path
Section titled “Quick path”-
Ensure the EE includes
ansible-dev-tools(bake intoexecution-environment.ymlor build an outer Containerfile). -
Scaffold config:
Terminal window ansible-creator add resource devcontainer /path/to/project --image <ee-or-layered-image>Or right-click an EE in the sidebar → Add Dev Container.
-
Dev Containers: Reopen in Container.
Migrating from the old EE mode
Section titled “Migrating from the old EE mode”If you used ansible.executionEnvironment.* on the main branch, see
Migrating from EE Mode.