Merge "Set default address to wait for"

This commit is contained in:
Zuul 2019-04-07 03:54:02 +00:00 committed by Gerrit Code Review
commit 4a936a514f
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
- name: Wait for web server to complete starting
wait_for:
host: "{{ ansible_default_ipv4.address }}"
host: "{{ ansible_default_ipv4.address | default('127.0.0.1') }}"
port: "{{ item }}"
timeout: 25
delay: 10