change to resonse.json.X

This commit is contained in:
Andy Rajagopalan
2019-12-06 10:40:23 -08:00
committed by Steve Smith
parent 077fd0511b
commit 69907ad570

View File

@@ -33,19 +33,19 @@
until: response.status == 200 until: response.status == 200
retries: 6 retries: 6
delay: 15 delay: 15
failed_when: response[item].json.state != 'INITIALISING' failed_when: response.json.state != 'INITIALISING'
- name: get status of import - name: get status of import
debug: var=response debug: var=response
- name: get job id - name: get job id
debug: var=response[item].json.state debug: var=response.json.state
with_items: "{{ response }}" with_items: "{{ response }}"
- name: get job id - name: get job id
debug: var=response[item].json.id debug: var=response.json.id
with_items: "{{ response }}" with_items: "{{ response }}"