[ansible-project] Re: Help with Docker module

2015-03-06 Thread Ash Wilson
Hey Lars, As it happens I'm putting the finishing touches today on a pull request to revamp some of the Docker module's functionality, specifically by adding more states and more clearly defining the ones that are there. I'm doing a bit with the documentation along the way (and I still have to

Re: [ansible-project] Re: Help with Docker module

2015-03-06 Thread Lars Sommer
That was very helpful, thank you Ash! I do understand the way that the docker volumes work, but was hoping that the ansible module would be able to add some extra functionality like the volume parameter being able to mount a directory from the docker host into the docker container

Re: [ansible-project] Re: Help with Docker module

2015-03-06 Thread Lars Sommer
Additionally I just want to mention that it appears that if you modify a playbook with a container from not having volumes mounted to mounting volumes, ansible doesnt register that as a change and thus won't actually implement the changes to the task. So if I have a playbook that just spins up a

Re: [ansible-project] Re: Help with Docker module

2015-03-06 Thread Ash Wilson
That's the second half of the missing functionality I wanted to add that prompted the refactor I linked before. (The first half was the ability to pull the latest version of the image on every run, not only when it's missing, with pull=always.) If my PR is accepted, that will be