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].
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/7985fc3b-202a-4514-a1d9-6d87a7f5ab5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.