changes to status checks

This commit is contained in:
Andy Rajagopalan
2019-12-18 14:05:54 -08:00
parent 2501d116b3
commit fb13d21265

View File

@@ -30,9 +30,10 @@
body_format: json
return_content: yes
register: output
until: output is defined and output.status == 200 and output.json is defined and output.json.state != 'INITIALISING'
until: output.status == 200
retries: 6
delay: 15
failed_when: output is defined and output.json is defined and output.json.state != 'INITIALISING'
#failed_when: "'INITIALISING' not in output.content"
- name: get import status