# Ansible playbooks hangs forewer

**URL:** <https://forum.ansible.com/t/ansible-playbooks-hangs-forewer/37275>\
**Category:** Ansible Project\
**Created:** [October 28, 2022, 1:58am UTC](https://forum.ansible.com/t/ansible-playbooks-hangs-forewer/37275 "2022-10-28T01:58:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshad\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/h/e5b9ba/32.png) [@Harshad\_Kulkarni](https://forum.ansible.com/u/Harshad_Kulkarni)\
**Post date:** [October 28, 2022, 1:58am UTC](https://forum.ansible.com/t/ansible-playbooks-hangs-forewer/37275/1 "2022-10-28T01:58:35Z")

</div>

Hi Team

I have playbooks which configures some standard commands on Cisco IOS-XE & IOS devices. I have seen that playbooks is getting hang after some time for indefinite period of time after some of the hosts got timed out , i have configured ignore error : true

Please help

Thanks  
Harshad

---

<div class="post-metadata">

**Author:** ![HobsonI](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/hobsoni/32/4960_2.png) [@HobsonI](https://forum.ansible.com/u/HobsonI)\
**Post date:** [October 28, 2022, 4:18am UTC](https://forum.ansible.com/t/ansible-playbooks-hangs-forewer/37275/2 "2022-10-28T04:18:01Z")

</div>

Hi Harshad,

I have had something similar when the software I was trying to run, had prompted for input.

Try running it manually to see what is going on.

You can use expect to set up replies to prompts in your playbook.

Hope this helps.

Ian

---

<div class="post-metadata">

**Author:** ![KB-perByte](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kb-perbyte/32/541_2.png) [@KB-perByte](https://forum.ansible.com/u/KB-perByte)\
**Post date:** [October 28, 2022, 7:40am UTC](https://forum.ansible.com/t/ansible-playbooks-hangs-forewer/37275/3 "2022-10-28T07:40:20Z")

</div>

Hey Harshad,

Can we confirm that the devices reporting timeout need privileged passwords?

Regards,  
Sagar Paul

---

<div class="post-metadata">

**Author:** ![Harshad\_Kulkarni](https://avatars.discourse-cdn.com/v4/letter/h/e5b9ba/32.png) [@Harshad\_Kulkarni](https://forum.ansible.com/u/Harshad_Kulkarni)\
**Post date:** [October 29, 2022, 12:04am UTC](https://forum.ansible.com/t/ansible-playbooks-hangs-forewer/37275/4 "2022-10-29T00:04:08Z")

</div>

Hi Sagar

No devices dont need privilege password

Thanks  
Harshad
