A lightweight, production-ready Ansible Docker image built on python:3.14.3-alpine3.23. Designed for running playbooks in CI/CD pipelines or local automation tasks. Powered by Ansible 2.20.3, pre-loaded with common community collections and WinRM support for managing Windows nodes.
| Alpine-based | Python 3.14.3 + Alpine 3.23 for minimal footprint |
| Ansible Core 2.20.3 | With ansible-lint 26.3.0 for playbook validation |
| Windows Support | pywinrm included for managing Windows hosts via WinRM |
| SOPS Integration | rage + sops 3.12.1 for encrypted secret management |
| Community Collections | ansible.posix, ansible.windows, community.docker, community.sops, kubernetes.core |
| CI/CD Ready | GitLab CI component templates included for structured playbook execution |
| System Tools | bash, coreutils, curl, git, jq, openssh, rsync, yq 4.52.4 |
| Topic | |
|---|---|
| Usage | Running the image locally and in CI/CD |
| CI Component | GitLab CI component inputs and setup |
| Windows | WinRM configuration and inventory |
docker run --rm -v $(pwd):/app -w /app docker.io/hlhd/ansible:latest ansible-playbook playbook.yamlDistributed under the GPL-3.0 License.