Ansible Execution Environment
Ansible execution-environment.yml file
| Type | v3 | v1 |
|---|---|
| File match |
**/execution-environment.yml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/ansible-execution-environment/latest.json |
| Source | https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/execution-environment.json |
Validate with Lintel
npx @lintel/lintel check
See https://docs.ansible.com/projects/builder/en/latest/definition/ for V3 or https://legacy-controller-docs.ansible.com/automation-controller/ for older V1 format.
One of
Definitions
Allows adding system, python or galaxy dependencies.
3 nested properties
Example requirements.yml
Example requirements.txt
Example bindep.txt
2 nested properties
1 nested properties
Allows adding system, python or galaxy dependencies.
6 nested properties
Ansible package installation
1 nested properties
Ansible package to install via pip
Ansible Runner package installation
1 nested properties
Ansible Runner package to install via pip
Python package name and path
2 nested properties
The python package to install via system package manager
Path to the python interpreter
Describes files to add to the build context
8 nested properties
3 nested properties
1 nested properties
Options that effect runtime behavior
8 nested properties
Customize container startup behavior
3 nested properties
literal value for CMD Containerfile directive
literal value for ENTRYPOINT Containerfile directive
package to install via pip for entrypoint support
Path to the system package manager to use
allows GID0 write access to /etc/passwd; currently necessary for many uses
Disables the check for Ansible/Runner in final image
Disables the installation of pip in the base image
Sets the username or UID
Default working directory, also often the homedir for ephemeral UIDs
A list of names to assign to the resulting image if build process completes successfully
Examples
"execution-environment.yml"