# Continu running tasks after a failure without ignoring?

**URL:** <https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574>\
**Category:** Ansible Project\
**Created:** [October 21, 2014, 7:59pm UTC](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574 "2014-10-21T19:59:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Madrid](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@Matt\_Madrid](https://forum.ansible.com/u/Matt_Madrid)\
**Post date:** [October 21, 2014, 7:59pm UTC](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574/1 "2014-10-21T19:59:26Z")

</div>

I’d like to run a playbook and have ansible continue on to the next task when a task fails. This way I get a play summary showing exactly how many tasks failed and how many succeeded and I can pick out specific tasks to re-run on specific hosts. AFAIK, the only way to do this is to use ignore\_errors:true. But that’s not what I want. ignore\_errors causes ansible to show it as “ok” in the play summary. I actually want it to show failed but continue on to the next task. Am I missing something?

Thanks,

---

<div class="post-metadata">

**Author:** ![James\_Cammarata](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Post date:** [October 23, 2014, 3:22pm UTC](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574/2 "2014-10-23T15:22:05Z")

</div>

Hi Matt,

I would recommend using tags on any tasks that you may want to re-run individually, that way you can limit what is re-run. You can also use the --start-at-task option for ansible-playbook to restart your playbook at a later part of your plays.

---

<div class="post-metadata">

**Author:** ![Matt\_Madrid](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@Matt\_Madrid](https://forum.ansible.com/u/Matt_Madrid)\
**Post date:** [October 23, 2014, 11:14pm UTC](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574/3 "2014-10-23T23:14:56Z")

</div>

Thanks James. I guess I wasn’t clear. I know how to re-run tasks, but my question is more about how to force the playbook to continue on failure without using ignore\_errors. I want the output of the run to show how many tasks succeeded and how many failed. Currently it will stop running tasks on a host when there’s a failure.

---

<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:** [October 24, 2014, 1:33pm UTC](https://forum.ansible.com/t/continu-running-tasks-after-a-failure-without-ignoring/16574/4 "2014-10-24T13:33:52Z")

</div>

Ansible internally fails on errors as a key design feature.

Any tasks you want to ignore would need the “ignore\_errors: True” flag on those specific tasks.

I’m sorry if you don’t like how that was flagged in the stats, but we can’t change that.
