# Aborting playbook execution during rolling updates?

**URL:** <https://forum.ansible.com/t/aborting-playbook-execution-during-rolling-updates/14899>\
**Category:** Ansible Project\
**Created:** [March 31, 2014, 7:07pm UTC](https://forum.ansible.com/t/aborting-playbook-execution-during-rolling-updates/14899 "2014-03-31T19:07:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Mahemoff](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Michael\_Mahemoff](https://forum.ansible.com/u/Michael_Mahemoff)\
**Post date:** [March 31, 2014, 7:07pm UTC](https://forum.ansible.com/t/aborting-playbook-execution-during-rolling-updates/14899/1 "2014-03-31T19:07:31Z")

</div>

I have parallel hosts configured with “serial” to ensure rolling updates. But if one fails, I believe the next one will unconditionally still execute, causing the whole cluster to fail. Is there any way to abort the entire playbook execution (or that for serial hosts anyway) if any one host should fail?

---

<div class="post-metadata">

**Author:** ![tannerjc](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tannerjc/32/985_2.png) [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Post date:** [March 31, 2014, 7:16pm UTC](https://forum.ansible.com/t/aborting-playbook-execution-during-rolling-updates/14899/2 "2014-03-31T19:16:49Z")

</div>

I’d send you the link to the docsite, but this will have to do for now:

[https://github.com/ansible/ansible/blob/devel/docsite/rst/playbooks\_delegation.rst#maximum-failure-percentage](https://github.com/ansible/ansible/blob/devel/docsite/rst/playbooks_delegation.rst#maximum-failure-percentage)

---

<div class="post-metadata">

**Author:** ![Michael\_Mahemoff](https://avatars.discourse-cdn.com/v4/letter/m/5f9b8f/32.png) [@Michael\_Mahemoff](https://forum.ansible.com/u/Michael_Mahemoff)\
**Post date:** [March 31, 2014, 7:26pm UTC](https://forum.ansible.com/t/aborting-playbook-execution-during-rolling-updates/14899/3 "2014-03-31T19:26:05Z")

</div>

Thanks, sorry I missed that in the docs!

[http://docs.ansible.com/playbooks\_delegation.html#rolling-update-batch-size](http://docs.ansible.com/playbooks_delegation.html#rolling-update-batch-size) for future reference
