Docker: Client version: 1.2.0 Client API version: 1.14 Go version (client): go1.3.1 Git commit (client): fa7b24f OS/Arch (client): linux/amd64 Server version: 1.2.0 Server API version: 1.14 Go version (server): go1.3.1 Git commit (server): fa7b24f
Ansible: ansible 1.7.1 Docker-py Not sure how to get this. I looked for the file: /usr/share/ansible/cloud/docker And it says 1.4 at the top. Thanks! Am I right in assuming that the above should work? On Thursday, September 25, 2014 4:55:44 AM UTC-7, Michael DeHaan wrote: > > Hi Brian, > > For starters, an you indicate your Ansible and docker-py and Docker > versions? > > Thanks! > > --Michael > > > > On Wed, Sep 24, 2014 at 5:25 PM, Brian Fleming <[email protected] > <javascript:>> wrote: > >> 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: all >> sudo: yes >> tasks: >> - name: ensure redis container is running >> docker: image=dockerfile/redis name=redis command=" bash -c >> 'redis-server /etc/redis/redis.conf'" >> >> - name: ensure web container is running >> docker: image=<privaterepo>:5000/web:*1.0* ports=5000:5000 >> links=redis:redis name=cyweb state=restarted >> >> >> thanks 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 [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/3bb813bc-4e91-4fde-9cc2-ba83aa70be7e%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/3bb813bc-4e91-4fde-9cc2-ba83aa70be7e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9615dd8d-0b39-4a2c-94e6-f0d48962adbc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
