# Re-run a playbook until condition is met

**URL:** <https://forum.ansible.com/t/re-run-a-playbook-until-condition-is-met/16875>\
**Category:** Ansible Project\
**Created:** [November 25, 2014, 1:09pm UTC](https://forum.ansible.com/t/re-run-a-playbook-until-condition-is-met/16875 "2014-11-25T13:09:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fazal-e-Rehman\_Khan](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@Fazal-e-Rehman\_Khan](https://forum.ansible.com/u/Fazal-e-Rehman_Khan)\
**Post date:** [November 25, 2014, 1:09pm UTC](https://forum.ansible.com/t/re-run-a-playbook-until-condition-is-met/16875/1 "2014-11-25T13:09:54Z")

</div>

Dear all,

is there any way of replaying the playbook until there are no hosts in myPlaybook.retry file?

regards,
