Ansible in Alpine Docker container based on official 'python' image
10K+
This Docker image is managed and kept up to date by epicsoft LLC.
Ansible in Alpine Docker container based on official 'python' image.
3.20 3.20-pluigins latest latest-pluigins
based on python:3-alpine3.20 image with alpine 3.20.x - build weekly
3.x.x - depending on base image2.17.2 (2024-07-20) - depending on Python package ansibleansible latest version - https://pypi.org/project/ansible/ansible-lint latest version - https://pypi.org/project/ansible-lint/hvac latest version - https://pypi.org/project/hvac/botocore latest version - https://pypi.org/project/botocore/boto3 latest version - https://pypi.org/project/boto3/resolvelib latest version - https://pypi.org/project/resolvelib/3.19 3.19-pluigins
based on python:3-alpine3.19 image with alpine 3.19.x - build weekly
3.x.x - depending on base image2.16.3 (2024-02-18) - depending on Python package ansibleansible latest version - https://pypi.org/project/ansible/ansible-lint latest version - https://pypi.org/project/ansible-lint/hvac latest version - https://pypi.org/project/hvac/botocore latest version - https://pypi.org/project/botocore/boto3 latest version - https://pypi.org/project/boto3/resolvelib latest version - https://pypi.org/project/resolvelib/3.18 3.18-pluigins
based on python:3.12.2-alpine3.18 image with alpine 3.18.6
3.12.2 - depending on base image2.16.3 - depending on Python package ansibleansible version 9.2.0 - https://pypi.org/project/ansible/9.2.0/ansible-lint version 24.2.0 - https://pypi.org/project/ansible-lint/24.2.0/hvac version 2.1.0 - https://pypi.org/project/hvac/2.1.0/botocore version 1.34.44 - https://pypi.org/project/botocore/1.34.44/boto3 version 1.34.44 - https://pypi.org/project/boto3/1.34.44/resolvelib version 0.8.1 - https://pypi.org/project/resolvelib/0.8.1/*-pluigins
Plugins are installed in an additional image with the suffix -plugins
community.general - https://galaxy.ansible.com/ui/repo/published/community/general/ansible.posix - https://galaxy.ansible.com/ui/repo/published/ansible/posix/ansible.netcommon - https://galaxy.ansible.com/ui/repo/published/ansible/netcommon/community.hashi_vault - https://galaxy.ansible.com/community/hashi_vaultansible-modules-hashivault - https://github.com/TerryHowe/ansible-modules-hashivaultAlpine packages are installed in the current image in the latest version - https://pkgs.alpinelinux.org/packages
.gitlab-ci.yml
stages:
- deployment
TestDeployment:
stage: deployment
image: epicsoft/ansible:latest-plugins
script:
- ansible-playbook deployment.yml -i inventory.yml
A small workaround is necessary under WSL so that the correct permissions can be set.
docker run --rm -it --name ansible \
-v $(pwd):/in:ro \
epicsoft/ansible:latest-plugins \
sh -c "mkdir /ansible \
&& rsync -a --quiet --exclude='.git' /in/ /ansible/ \
&& chmod -R 700 /ansible \
&& chmod -R 400 /ansible/secrets \
&& cd /ansible \
&& ansible-playbook deployment.yml -i inventory.yml"
MIT License see LICENSE
Please note that the MIT license only applies to the files created by epicsoft LLC. Other software may be licensed under other licenses.
Content type
Image
Digest
sha256:99ef11ae6…
Size
229.9 MB
Last updated
3 days ago
docker pull epicsoft/ansible:latest-plugins