Hey guys,
I am using Ansible and Docker in a very interesting way, I think it would be useful for others, so I wrote an article about it
http://victorlin.me/posts/2014/11/13/provision-with-ansible-from-inside-docker
The very basic idea is to pack all Ansible runtimes/roles/playbooks/plugins into a docker image, and then you have a container for provisioning. I think this is really powerful, for example, you can run sometime like this:
sudo docker pull ansible-open-stack-swift
and
sudo docker run -it ansible-open-stack-swift …
then you can provision to either EC2 cluster or local machines, whatever you want. You even don’t need to install the Ansible runtime on your machine. With this idea in mind, not only software can be shipped as a container, the software for deployment can also be shipped as a container. In the community, we can build many interesting stuff, like Ansible image for launching the different clusters.