Yeah - that would be a nice feature :-)

A pull only option in the docker module, that lets you know if you have to 
restart the service or not. And restarts AFTER the pull is complete.

Peter

On Monday, January 12, 2015 at 8:45:53 AM UTC-8, Gary Malouf wrote:
>
> I'm trying to achieve the following behavior via the Ansible-Docker module
>
>
>    1. Check if currently deployed container image is of desired version; 
>    if so, exit else proceed
>    2. Pull updated image
>    3. Stop/remove currently deployed container image
>    4. Start new container image
>
>
> I know using 'latest' would give this type of behavior, but we really want 
> to be able to specify the specific version to check for.
>

-- 
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/97bb9092-7d30-47a1-81b7-f44b50ebe40c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to