# Sensible timeouts and configuration of ansible.cfg,

**URL:** <https://forum.ansible.com/t/sensible-timeouts-and-configuration-of-ansible-cfg/24063>\
**Category:** Ansible Project\
**Created:** [March 25, 2017, 2:10am UTC](https://forum.ansible.com/t/sensible-timeouts-and-configuration-of-ansible-cfg/24063 "2017-03-25T02:10:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Brendlinger](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@David\_Brendlinger](https://forum.ansible.com/u/David_Brendlinger)\
**Post date:** [March 25, 2017, 2:10am UTC](https://forum.ansible.com/t/sensible-timeouts-and-configuration-of-ansible-cfg/24063/1 "2017-03-25T02:10:52Z")

</div>

Hello

We have a changing inventory of linux servers we use ansible on. My ansible playbook with hang on a server for a long time. My only solution is to find the offending host and take it out of the /etc/ansible/hosts file.

how would I keep ansible from hanging on hosts ? I assume i need to tweek settings ? I almost need to write something to keep ansible from trying to contact dead hosts.

Additionally some of the hosts gave an error message to set “ANSIBLE\_DEBUG=1” . I tried that with ansible all -m setup --extra-vars “ANSIBLE\_DEBUG=1” and it did not help anything.

Regards;

timfox123
