# Execute a playbook till the end regardless of the amount of failed plays in it

**URL:** <https://forum.ansible.com/t/execute-a-playbook-till-the-end-regardless-of-the-amount-of-failed-plays-in-it/32968>\
**Category:** Ansible Developer\
**Created:** [May 19, 2020, 11:10am UTC](https://forum.ansible.com/t/execute-a-playbook-till-the-end-regardless-of-the-amount-of-failed-plays-in-it/32968 "2020-05-19T11:10:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Plamen\_Petkov](https://avatars.discourse-cdn.com/v4/letter/p/73ab20/32.png) [@Plamen\_Petkov](https://forum.ansible.com/u/Plamen_Petkov)\
**Post date:** [May 19, 2020, 11:10am UTC](https://forum.ansible.com/t/execute-a-playbook-till-the-end-regardless-of-the-amount-of-failed-plays-in-it/32968/1 "2020-05-19T11:10:25Z")

</div>

Hi,  
I am relatively new to the Ansible world. But I have a problem, i can’t find anywhere a solution for, for a very long time.  
So I have a playbook with a couple of plays in it. If any of the plays failed, a retry file would be created with the failed hosts in it. But the problem is that that action stops any further plays execution in the playbook. What i want is to keep a collection of all failed hosts and those that haven’t been yet executed. Is there a way to do this or a workaround?
