changes to status checks

This commit is contained in:
Andy Rajagopalan
2019-12-18 14:05:54 -08:00
committed by Steve Smith
parent a57edf7a9b
commit 692eb8d011

View File

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