Image containing ansible for use as an ansible control agent.
docker run --name ansible -v /my/playbook/root/:/playbook/ paultrampert/ansible-docker-image
docker run --name ansible -e GIT_REPO=https://github.com/Me/my-playbook.git paultrampert/ansible-docker-image
SSH keys can be mounted to /root/.ssh/
.
The built in entrypoint.sh will take care of installing playbook dependencies before running your playbook, as long as the CMD starts with ansible-playbook
.