9. Issues Faced
docker_image module is deprecated
SSH on Docker is considered evil
(https://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/)
wait_for module just waits for TCP
connectivity
(http://docs.ansible.com/wait_for_module.html)
10. How are we doing this?
Custom python script
Ansible python API
Validating returned data
11. What’s under the covers?
Vagrant provisioned with jenkins and docker
Vagrant builds a docker image that has
ansible
Jenkins provisions docker container with
ansible
Custom python script runs playbook a second
time
Returned results are then validated
14. How can we make this
better?
Identify file and line number of non-
idempotent task
Use with docker and SSH
Improve callback to not write local file
Move traceback to more visible