---
title: Execution environments
description: Choose the container image and Ansible dependencies that workers run.
---

1. Open **Environments → New environment**. Choose a name and owner, and enter an image reference such as `registry.example.com/automation/ansible:1.0`.
2. If the registry is private, select a **Container registry** credential for that registry's host.
3. Choose a pull policy and save. Use the environment's inspection to check Ansible, Python, the available tools, and installed collections.
4. Select the environment on a template or an inventory source, or use its name with the CLI's `--ee` option.

| Pull policy | Worker behavior |
| --- | --- |
| If missing | Pulls the image if it is absent on that worker. |
| Always | Pulls before each job. Useful with a tag that changes. |
| Never | Uses an image already present on that worker. Provision it on every eligible worker. |

Use an immutable image reference when you need repeatable runs. To diagnose a failed pull, check the exact image reference, registry credential, and worker network access. The environment's **Workers** section shows which workers have the image and whether their digest matches the inspected image.
