Image containing Ansible installed from pypi
6.4K
A Docker image with Ansible installed from pip and a few helpful dependencies.
This image is built from the python:3.x-slim image.
joshbeard/ansibleghcr.io/joshbeard/ansibleDockerfile: https://github.com/joshbeard/docker-ansible/blob/master/Dockerfile10.1.0, 10, latest (current)9.7.0, 9 (end of life November 2024)Refer to the Tag End of Life and Deletion section below for information about deprecated image tags.
The following example demonstrates providing a private SSH key to use with Ansible and running a playbook:
docker run --rm -it \
-v ansible-ssh-private-key:/home/ansible/.ssh/id_rsa \
-v ${PWD}:/playbook \
-w /playbook \
joshbeard/ansible:latest \
ansible-playbook -i inventory.ini site.yml
A user named ansible is created with a UID/GID of 1055 and a home directory
at /home/ansible.
This Docker image will maintain tags that are supported upstream, as listed in the Ansible Releases and Maintenance document.
The following tags are for versions that have reached end of life and will be automatically deleted on the specified date.
| Tag | Deletion Date |
|---|---|
8, 8.* | November 30, 2024 |
9, 9.* | November 30, 2024 |
Content type
Image
Digest
sha256:40738a7ba…
Size
382.6 MB
Last updated
over 1 year ago
docker pull joshbeard/ansible