# playbook hangs indefinitely when remote host goes down in-between execution

**URL:** <https://forum.ansible.com/t/playbook-hangs-indefinitely-when-remote-host-goes-down-in-between-execution/31505>\
**Category:** Ansible Project\
**Created:** [October 22, 2019, 7:46am UTC](https://forum.ansible.com/t/playbook-hangs-indefinitely-when-remote-host-goes-down-in-between-execution/31505 "2019-10-22T07:46:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhijith.devaraju](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@abhijith.devaraju](https://forum.ansible.com/u/abhijith.devaraju)\
**Post date:** [October 22, 2019, 7:46am UTC](https://forum.ansible.com/t/playbook-hangs-indefinitely-when-remote-host-goes-down-in-between-execution/31505/1 "2019-10-22T07:46:17Z")

</div>

Hi All,

I have Issue with playbook getting stuck/hang indefinitely, if remote host goes due to kernel panic during the execution. I have tried using async poll for every task but still run into the Issue. When a server goes into kernel panic, since the ssh connection is still open Ansible keeps waiting for the response forever.

My expectation is Ansible should exclude the host and move forward with remaining hosts after a specific timeout. Is there a way this can be achieved ?
