fix dns name issue
This commit is contained in:
parent
68cba1e68d
commit
1bbc42d468
2
ec2.yml
2
ec2.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue