increased delay and added retries to uri

This commit is contained in:
Andy Rajagopalan
2019-11-22 07:05:13 -08:00
committed by Steve Smith
parent 88e7b87518
commit 6b9324dbf0

View File

@@ -5,8 +5,7 @@
- name: wait for port 7990 to be up - name: wait for port 7990 to be up
wait_for: wait_for:
port: 7990 port: 7990
delay: 10 delay: 60
timeout: 60
- name: Copy Bitbucket dataset from s3 - name: Copy Bitbucket dataset from s3
get_url: get_url:
@@ -23,4 +22,7 @@
body_format: json body_format: json
return_content: yes return_content: yes
register: response register: response
until: response.status == 200
retries: 6
delay: 10
failed_when: "'INITIALISING' not in response.content" failed_when: "'INITIALISING' not in response.content"