Increase wait timeout for instances to come up
There were some problems with the previous one minute startup, sometimes we caught failures just for a few seconds. Increasing to five minutes gives us a reasonable amount of time to determine whether or not are there problems. Change-Id: Ibdcec51347e1a816b019638a2b9a69e390f15eac
This commit is contained in:
parent
f52f30947d
commit
c6fc656592
@ -26,11 +26,11 @@
|
||||
jq --raw-output '.outputs[] | select( .output_key == "server_public_ip") | .output_value'
|
||||
register: instance_ip
|
||||
|
||||
- name: Wait up to one minute for the instance to be reachable
|
||||
- name: Wait up to five minutes for the instance to be reachable
|
||||
wait_for:
|
||||
host: "{{ instance_ip.stdout }}"
|
||||
port: 22
|
||||
timeout: 60
|
||||
timeout: 300
|
||||
|
||||
- name: Clean the created stack
|
||||
shell: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user