# Do-until seems not to work with delegate

**URL:** <https://forum.ansible.com/t/do-until-seems-not-to-work-with-delegate/16075>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 29, 2014, 6:43pm UTC](https://forum.ansible.com/t/do-until-seems-not-to-work-with-delegate/16075 "2014-08-29T18:43:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [August 29, 2014, 6:43pm UTC](https://forum.ansible.com/t/do-until-seems-not-to-work-with-delegate/16075/1 "2014-08-29T18:43:40Z")

</div>

This doesn’t seem to be a do/until problem, since the command is failing because a binary is not present.

Example:

- hosts: all

tasks:

- shell: /usr/bin/wrong

register: blip

delay: 1

retries: 4

until: blip.stdout.find(“3”)

However, it’s also not apparently true that ignore\_errors is used when deciding to retry, so this is a buglet, which I’ll file because we need to deal with it:

- hosts: all

tasks:

- shell: /usr/bin/false

register: blip

delay: 1

ignore\_errors: True

retries: 4

until: blip.stdout.find(“3”)

ignore\_errors: True
