Groups
Groups
Sign in
Groups
Groups
Ansible Project
Conversations
About
Send feedback
Help
Conditionally upgrade container (specific version)
12 views
Skip to first unread message
Gary Malouf
unread,
Jan 12, 2015, 11:45:53 AM
1/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I'm trying to achieve the following behavior via the Ansible-Docker module
Check if currently deployed container image is of desired version; if so, exit else proceed
Pull updated image
Stop/remove currently deployed container image
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.
Peter Mooshammer
unread,
Jan 13, 2015, 12:27:22 PM
1/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages