Docker image with
- ansible
- ansible-galaxy
- ansible-lint
- curl
- git
- openssh-client
- python3-hcloud
- rsync
docker pull srsp/ansibleThis image uses the latest Ubuntu LTS release as base image and installs the latest ansible
package that the official Ansible Ubuntu PPA provides. ansible-lint is installed in its own
virtual environment to avoid distro package compatibility issues with the PPA Ansible packages.
Build the image with:
docker build -f Dockerfile -t ansible:test .The build runs a smoke test for ansible, ansible-galaxy, and ansible-lint.
If one of them is missing, not executable or fails during execution, docker build fails immediately.
You can also re-run the same check against a built image:
docker run --rm ansible:test /usr/local/bin/verify-toolsThis can happen, if Ubuntu decides to ship a new minor version of python. In this case
you can check which versions are actually ship and update them in the Dockerfile.