New user here, only been playing a couple hours.--I got this playbook working to install version 1.0 of my fake web app that uses redis. But what I want to know is, how can I know if there is a new version of my web container and how to upgrade to it?I thought if I just changed the tag from 1.0 to 2.0 then the 1.0 version would be stopped and the 2.0 would go up. But the 1.0 version is remaining.- hosts: allsudo: yestasks:- name: ensure redis container is runningdocker: image=dockerfile/redis name=redis command=" bash -c 'redis-server /etc/redis/redis.conf'"- name: ensure web container is runningdocker: image=<privaterepo>:5000/web:1.0 ports=5000:5000 links=redis:redis name=cyweb state=restartedthanks for your time.
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/3bb813bc-4e91-4fde-9cc2-ba83aa70be7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Docker:Client version: 1.2.0Client API version: 1.14Go version (client): go1.3.1Git commit (client): fa7b24fOS/Arch (client): linux/amd64Server version: 1.2.0Server API version: 1.14Go version (server): go1.3.1Git commit (server): fa7b24fAnsible:ansible 1.7.1Docker-pyNot sure how to get this. I looked for the file:/usr/share/ansible/cloud/dockerAnd it says 1.4 at the top.Thanks! Am I right in assuming that the above should work?
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9615dd8d-0b39-4a2c-94e6-f0d48962adbc%40googlegroups.com.