Ansible Do Until Loop

Hi All,

I’m using ansible version 2.5.0 I’m trying execute a task with an Do Until Loop.
http://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html#do-until-loops

Is it possible to run this task with an infinite number of retries ? with out defying the number of retries.
e.g:

until: result.stdout.find("all systems go") != -1
delay: 10 

task will finish only when the condition is success not when number of retries exceeds.

Thanks.

Not to my knowledge, why don't you just set a high retry count?

With a delay 10 and retries 8640, that is 24 hours, and if you increase the delay to 20 it's 48 hours.