CentOS 7 image with Ansible 2.9 and Python 3.6 for infrastructure automation, configuration management, and application deployment.
docker pull energonhq/ansible:latest
docker run --rm -it energonhq/ansible:latest ansible --version
docker run --rm -v $(pwd):/ansible -w /ansible energonhq/ansible:latest ansible-playbook -i inventory.yml playbook.yml
Note: CentOS 7 has reached EOL. Consider migrating to a newer base for new projects.
latest - Most recent stable build2.9 - Ansible 2.9 specific| Key | Value |
|---|---|
| Base Image | centos:7.9.2009 |
| Arch | amd64 |
| Size | ~600 MB |
| User | root |
| Variable | Description | Default |
|---|---|---|
ANSIBLE_HOST_KEY_CHECKING | Disable SSH host key checking | - |
ANSIBLE_CONFIG | Custom ansible.cfg path | - |
ANSIBLE_STDOUT_CALLBACK | Output format (yaml, json) | - |
ANSIBLE_VAULT_PASSWORD_FILE | Vault password file path | - |
| Path | Purpose |
|---|---|
/ansible | Mount playbooks and inventory here |
/root/.ssh | SSH keys for remote hosts (mount read-only) |
Content type
Image
Digest
sha256:2f93d4e7f…
Size
139.9 MB
Last updated
7 months ago
docker pull energonhq/ansible