Provision with Ansible from inside Docker

57 views
Skip to first unread message

Victor Lin

unread,
Nov 13, 2014, 2:25:26 AM11/13/14
to ansible...@googlegroups.com
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.

Michael DeHaan

unread,
Nov 17, 2014, 4:17:49 PM11/17/14
to ansible...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f7137657-b0c4-474b-9edf-a5692bc05d1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages