Here is my Ansible task
- name: wait until response has key word "PIPELINE_STATE_SUCCEEDED"
uri:
url: https://abcd.com/response
method: GET
register: ABCD
until: ABCD.json.state == "PIPELINE_STATE_SUCCEEDED"
retries: 30
delay: 600
When I run this script (total retries and delay adds up to 300 minutes for task to pass), after few retries, suddenly the scripts emits below error message and it breaks.
''dict object'' has no attribute ''state'''
I also tried decreasing delay number and increasing retries but still the same problem. I have several other task in the same playbook which uses similar module except size of delay is significantly less in those (total retries and delay adds up to around 30 minutes).
Any idea why this could be happening?