Hey,

We have a robust Ansible suite for deploying many of our servers and we're 
running into trouble using Drone <https://github.com/drone/drone>because of 
its use of Docker. Ansible has support for Docker insofar that it can 
create and manage Docker images. However, this becomes a problem because 
those are created from Dockerfiles that duplicate what we're already doing 
with Ansible.

For example, let's say we have an application server that we deploy the 
application to and a build server that runs our CI. With something like 
Jenkins we can just use the same Ansible role on both to get them ready for 
the application. With Drone and Docker we need a base image of the server 
that Drone can start fresh each time the tests run. That means we have both 
an Ansible role and a Dockerfile that repeat how to create an application 
server. We could potentially get the Ansible script to create that 
Dockerfile through docker_image but we'd also have to update the Docker 
registry and a bunch of overhead to keep both in sync.

The obvious solution is just deploying entirely through Docker. While 
possible, it will take a lot of time to port everything over to a new 
architecture. There's also a very sneaky reference to docker-dna 
<https://github.com/wrale/docker-dna> around 18:15 of the video at 
http://www.ansible.com/docker <http://youtu.be/oZ45v8AeE7k?t=18m15s>. Is 
that the best way to go about this? I'm surprised there's not more 
discussion about this, it seems pretty clutch for Ansible users who want to 
use Docker.

Thanks,
   - Justin

-- 
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/19e09322-111c-4bbf-bcad-7c070dff9a02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to