# ansible meta 'end\_playbook'?

**URL:** <https://forum.ansible.com/t/ansible-meta-end-playbook/38505>\
**Category:** Ansible Project\
**Created:** [October 10, 2023, 9:00am UTC](https://forum.ansible.com/t/ansible-meta-end-playbook/38505 "2023-10-10T09:00:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [October 10, 2023, 9:00am UTC](https://forum.ansible.com/t/ansible-meta-end-playbook/38505/1 "2023-10-10T09:00:56Z")

</div>

Hii

There is the ‘end\_play’ meta task that will end the current play.  
We use playbooks that have several plays, so end\_play will just end that specific play, and then continue to the next play.

Is there a way to stop the entire playbook?  
I would welcome a ‘end\_playbook’ meta action 🙂

thx

Dick

---

<div class="post-metadata">

**Author:** ![Dag\_Wieers](https://avatars.discourse-cdn.com/v4/letter/d/45deac/32.png) [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Post date:** [October 10, 2023, 10:17am UTC](https://forum.ansible.com/t/ansible-meta-end-playbook/38505/2 "2023-10-10T10:17:48Z")

</div>

Likewise, the ‘end\_role’ is a much requested feature to help simplify role logic.

[https://github.com/ansible/ansible/issues/22286](https://github.com/ansible/ansible/issues/22286)
