change failed_when

This commit is contained in:
Andy Rajagopalan
2019-12-06 15:21:44 -08:00
parent ba4f2c7b8a
commit 12384030ab

View File

@@ -33,8 +33,8 @@
until: output.status == 200
retries: 6
delay: 15
#failed_when: output.json.state != 'INITIALISING'
failed_when: "'INITIALISING' not in output.content"
failed_when: output.json.state != 'INITIALISING'
#failed_when: "'INITIALISING' not in output.content"
- name: get status of import
debug: var=output.json.state