fix dns name issue

This commit is contained in:
Vitaly Znachenok 2017-11-21 00:57:26 +03:00
parent 68cba1e68d
commit 1bbc42d468
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
add_host: hostname={{ item.public_ip }} groupname=launched
with_items: "{{ ec2.instances }}"
- name: Wait for SSH to come up
wait_for: host={{ item.public_dns_name }} port=22 delay=90 timeout=320 state=started
wait_for: host={{ item.public_ip }} port=22 delay=90 timeout=320 state=started
with_items: "{{ ec2.instances }}"
- name: Installing python