# Automatic retry failed or unreachable hosts

**URL:** <https://forum.ansible.com/t/automatic-retry-failed-or-unreachable-hosts/24465>\
**Category:** Ansible Project\
**Created:** [May 11, 2017, 4:02pm UTC](https://forum.ansible.com/t/automatic-retry-failed-or-unreachable-hosts/24465 "2017-05-11T16:02:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Notivol](https://avatars.discourse-cdn.com/v4/letter/d/b2d939/32.png) [@David\_Notivol](https://forum.ansible.com/u/David_Notivol)\
**Post date:** [May 11, 2017, 4:02pm UTC](https://forum.ansible.com/t/automatic-retry-failed-or-unreachable-hosts/24465/1 "2017-05-11T16:02:58Z")

</div>

Hello,

Is there a way of having an automatic retry for the unreachable hosts?  
With the retry files we can know which servers didn’t finish the playbook execution, so we can re-run it in the future. But can it be done automatically? Say, this server was down, let’s try again until it is up and the playbook is complete.

Thanks for your help,  
David N.
