You will likely be interested in https://github.com/ansible/ansible-modules-core/pull/1039
On Tuesday, March 31, 2015, Lyle Dietz <[email protected]> wrote: > Hi, > > One of my playbooks stopped working with the upgrade to 1.9. It appears > that ansible_facts has been removed from the result of running the docker > module. I was using this to feed an IP address in to wait_for so I knew > when the process in the docker container was accepting connections. > > - name: Start elasticsearch container > docker: > name: elasticsearch > image: elasticsearch > volumes_from: elasticsearch-data > ports: > - 9200:9200 > state: running > register: es_result > - name: Wait for elasticsearch to be ready > wait_for: > host: "{{ > es_result.ansible_facts.docker_containers[0].NetworkSettings.IPAddress }}" > port: 9200 > state: started > > I don't see anything in the documentation about this being removed. Was > this supposed to be removed, and if so, is there another way for me to get > this information? > > Thanks, > > Lyle > > -- > 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:_e(%7B%7D,'cvml','ansible-project%[email protected]');> > . > To post to this group, send email to [email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/7985fc3b-202a-4514-a1d9-6d87a7f5ab5c%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/7985fc3b-202a-4514-a1d9-6d87a7f5ab5c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Matt Martz @sivel sivel.net -- 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/CAD8N0v_F7iJEbvbGQRdDOCVHu3csUevDd-mRQJPDaops6pdJpg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
