Created
January 16, 2019 12:14
-
-
Save till/43b0b64aa682dcce83d154409b361132 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# assume this is preceeded by the docker_container module above | |
- name: Get container IP | |
set_fact: | |
container_ip: "{{ my_service_status.ansible_facts.docker_container.NetworkSettings.IPAddress }}" | |
- name: Check container | |
wait_for: | |
host: "{{ container_ip }}" | |
port: 31337 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment