# Do-until seems not to work with delegate

**URL:** <https://forum.ansible.com/t/do-until-seems-not-to-work-with-delegate/16077>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [August 29, 2014, 8:21pm UTC](https://forum.ansible.com/t/do-until-seems-not-to-work-with-delegate/16077 "2014-08-29T20:21:44Z")\
**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, 8:21pm UTC](https://forum.ansible.com/t/do-until-seems-not-to-work-with-delegate/16077/1 "2014-08-29T20:21:44Z")

</div>

What happened here is you had a task failure on several of the machines, and the do/until is not ignoring errors (because it’s not told to)

failed: [sc2-dock3-web3 → {{ item }}] =\> (item=sc2-dock3-lb) =\> {“attempts”: 6, “changed”: true, “cmd”: “/usr/local/bin/check\_health /health 80 sc2-dock3-web3”, “delta”: “0:00:00.147576”, “end”: “2014-08-29 13:55:35.685953”, “failed”: true, “item”: “sc2-dock3-lb”, “rc”: 127, “start”: “2014-08-29 13:55:35.538377”}  
stderr: /bin/sh: /usr/local/bin/check\_health: No such file or directory

So this is not a delegation issue.

However, it’s also true that “ignore\_errors” can’t be used with do/until, and for this I’ll file a small bug because I want to make that work for your use case, if you added ignore\_errors: True, which right now does not seem to help.
