# Regression in Docker module for 1.9?

**URL:** <https://forum.ansible.com/t/regression-in-docker-module-for-1-9/17884>\
**Category:** Ansible Project\
**Created:** [April 1, 2015, 2:02am UTC](https://forum.ansible.com/t/regression-in-docker-module-for-1-9/17884 "2015-04-01T02:02:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lyle\_Dietz](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@Lyle\_Dietz](https://forum.ansible.com/u/Lyle_Dietz)\
**Post date:** [April 1, 2015, 2:02am UTC](https://forum.ansible.com/t/regression-in-docker-module-for-1-9/17884/1 "2015-04-01T02:02:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [April 1, 2015, 2:05am UTC](https://forum.ansible.com/t/regression-in-docker-module-for-1-9/17884/2 "2015-04-01T02:05:43Z")

</div>

You will likely be interested in [https://github.com/ansible/ansible-modules-core/pull/1039](https://github.com/ansible/ansible-modules-core/pull/1039)

---

<div class="post-metadata">

**Author:** ![Lyle\_Dietz](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@Lyle\_Dietz](https://forum.ansible.com/u/Lyle_Dietz)\
**Post date:** [April 1, 2015, 2:13am UTC](https://forum.ansible.com/t/regression-in-docker-module-for-1-9/17884/3 "2015-04-01T02:13:18Z")

</div>

Just what I was after. I managed to find a copy of the 1.8.4 deb on another PC, so I’ll use that until this patch is released.

Thanks.
