epicsoft/ansible

By epicsoft

Updated 3 days ago

Ansible in Alpine Docker container based on official 'python' image

Image
Languages & frameworks
Integration & delivery
Developer tools
0

10K+

epicsoft/ansible repository overview

Ansible

This Docker image is managed and kept up to date by epicsoft LLC.

Ansible in Alpine Docker container based on official 'python' image.

Versions

3.20 3.20-pluigins latest latest-pluigins
based on python:3-alpine3.20 image with alpine 3.20.x - build weekly

3.19 3.19-pluigins
based on python:3-alpine3.19 image with alpine 3.19.x - build weekly

3.18 3.18-pluigins
based on python:3.12.2-alpine3.18 image with alpine 3.18.6

*-pluigins
Plugins are installed in an additional image with the suffix -plugins

Additional Alpine packages

Alpine packages are installed in the current image in the latest version - https://pkgs.alpinelinux.org/packages

  • sshpass
  • openssh-client
  • openssl
  • rsync
  • nano
  • py-pip
  • py3-setuptools
  • git
  • jq
  • curl
  • yq
  • ca-certificates

Examples

Example usage for GitLab CI/CD

.gitlab-ci.yml

stages:
  - deployment

TestDeployment:
  stage: deployment
  image: epicsoft/ansible:latest-plugins
  script:
    - ansible-playbook deployment.yml -i inventory.yml
Example usage for Windows with WSL

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"

License

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.

Tag summary

Content type

Image

Digest

sha256:99ef11ae6

Size

229.9 MB

Last updated

3 days ago

docker pull epicsoft/ansible:latest-plugins