Ansible Visual Execution Environment Builder: Build EEs Without Writing Dockerfiles (AAP 2.7 Guide)
By Luca Berton · Published 2024-01-01 · Category: installation
Build Ansible Execution Environments visually in AAP 2.7: templates, collections, MCP integration, and EE definition output.
The Visual Execution Environment Builder, generally available with AAP 2.7 (GA June 3, 2026), provides a guided 4-step workflow to create execution environments without writing Dockerfiles or Containerfiles manually.
4-Step Guided Workflow
Step 1: Start from a Template
Choose your starting point:
| Template | Use Case |
|---|---|
| Start from scratch | Custom EE with no pre-selected content |
| Cloud automation | Pre-selected AWS, Azure, GCP collections |
| Network automation | Cisco, Arista, Juniper collections |
| Personal | Your saved custom templates |
| Team | Organization-shared templates |
Step 2: Visual Configuration (Collections)
Select collections to include in your EE:
Popular collections (one-click selection):
ansible.posixcommunity.generalcommunity.kubernetesamazon.awscommunity.cryptocisco.ioscommunity.dockerazure.azcollection
requirements.yml file for bulk import.
# Equivalent requirements.yml generated by the builder
collections:
- name: amazon.aws
version: ">=8.0.0"
- name: community.general
version: ">=9.0.0"
- name: community.kubernetes
version: ">=4.0.0"
- name: cisco.ios
version: ">=8.0.0"Step 3: MCP Enablement
Enable AI integrations by selecting MCP servers to include in the EE:
| MCP Server | Description |
|---|---|
| GitHub | Access repos, files, and repos |
| Azure | Manage Azure cloud resources |
| AWS | Manage AWS cloud resources |
Step 4: Output
The builder generates the complete EE definition with:
- Links to documentation and resources
- About section describing the EE contents
- "Next Steps: Build and Use Your Execution Environment" guidance
- Push to a Git repository — version-controlled EE definition
- Download — local EE definition file
Phase I vs Phase II
| Phase | Capability | Status |
|---|---|---|
| Phase I | Creates execution environment definition files | GA with AAP 2.7 |
| Phase II | Generates (builds) execution environments directly | Coming later |
ansible-builder to build the container image. Phase II will handle the build process within the platform.
Generated EE Definition
The builder outputs a complete execution-environment.yml:
---
version: 3
build_arg_defaults:
ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: '--pre'
dependencies:
galaxy:
collections:
- name: amazon.aws
version: ">=8.0.0"
- name: community.general
version: ">=9.0.0"
- name: community.kubernetes
version: ">=4.0.0"
python:
- boto3>=1.34.0
- botocore>=1.34.0
- kubernetes>=28.0.0
system:
- python3-devel [platform:rpm]
- gcc [platform:rpm]
images:
base_image:
name: registry.redhat.io/ansible-automation-platform/ee-minimal-rhel9:latest
additional_build_files:
- src: mcp-config/
dest: configs
additional_build_steps:
append_final:
- COPY _build/configs /etc/ansible/mcp/Building the EE
After the builder generates the definition:
# Install ansible-builder
pip install ansible-builder
# Build the EE image
ansible-builder build \
--tag my-cloud-ee:latest \
--container-runtime podman \
--file execution-environment.yml
# Verify the image
podman images | grep my-cloud-ee
# Push to registry
podman push my-cloud-ee:latest \
registry.example.com/ansible/my-cloud-ee:latestSee also: AAP 2.6 Execution Environments: Build, Manage, and Deploy Custom EEs
Comparison: Manual vs Visual Builder
| Aspect | Manual (Containerfile) | Visual Builder |
|---|---|---|
| Skill required | Container + Ansible expertise | Point-and-click |
| Collection selection | Edit YAML files manually | One-click checkboxes |
| Dependency resolution | Manual trial-and-error | Automatic |
| MCP integration | Manual configuration | Guided selection |
| Consistency | Varies by author | Standardized templates |
| Time to first EE | 30-60 minutes | 5-10 minutes |
| Version control | Manual Git workflow | Built-in repo push |
FAQ
Do I still need ansible-builder?
In Phase I (AAP 2.7), yes — the visual builder generates the definition file, and you use ansible-builder to build the container. Phase II will build directly within the platform.
Can I edit the generated definition manually?
Yes. The output is a standard execution-environment.yml that you can modify, extend, and version-control like any other file.
What base images are available?
The builder uses Red Hat's supported base images: ee-minimal-rhel9, ee-supported-rhel9, and ee-minimal-rhel10. Custom base images can be specified.
Can I include MCP servers from providers not listed?
The guided workflow shows GitHub, Azure, and AWS. Additional MCP servers can be added manually to the generated definition file.
Are team templates shared across organizations?
Templates can be scoped to teams or organizations within AAP. Admins control which templates are available to which teams.
Related Articles
Category: installation