# cleanup playbook

**URL:** <https://forum.ansible.com/t/cleanup-playbook/15551>\
**Category:** Ansible Project\
**Created:** [June 25, 2014, 8:57pm UTC](https://forum.ansible.com/t/cleanup-playbook/15551 "2014-06-25T20:57:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Evgeniev](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Nick\_Evgeniev](https://forum.ansible.com/u/Nick_Evgeniev)\
**Post date:** [June 25, 2014, 8:57pm UTC](https://forum.ansible.com/t/cleanup-playbook/15551/1 "2014-06-25T20:57:16Z")

</div>

hi,

What is the best way of having a ‘cleanup’ playbook in ansible and having it run unconditionally after the main one?

I mean I want to have set of tasks each which will be run after completion (or failure) of main play book w/o ‘fail fast’ logic (meaning there will be one attempt made to run each task regardless whether previous tasks have failed or not)

---

<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:** [June 26, 2014, 12:19am UTC](https://forum.ansible.com/t/cleanup-playbook/15551/2 "2014-06-26T00:19:08Z")

</div>

the bash “||” perhaps.
