Build Docker container to run Ansible in.
Run Ansible-in-Docker container:
./runme.sh
Run ansible
and ansible-playbook
as usual.
Build Docker image:
docker build -t siso/ansible:0.2 .
SSH requires that keys belongs to the same user running it, bindfs
leverages fuse to bind ~/.ssh
of the user running docker to /root/.ssh
inside the container.
Pass Docker extra params with ./runme.sh -v /path/to/stuff:/stuff
This project is released under GNU GENERAL PUBLIC LICENSE Version 3.