# All host unreachable

**URL:** <https://forum.ansible.com/t/all-host-unreachable/21440>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 14, 2016, 8:06am UTC](https://forum.ansible.com/t/all-host-unreachable/21440 "2016-05-14T08:06:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johannes\_Kastl](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Post date:** [May 14, 2016, 8:06am UTC](https://forum.ansible.com/t/all-host-unreachable/21440/1 "2016-05-14T08:06:23Z")

</div>

What happens if you add this to your ansible.cfg?

[ssh\_connection]  
control\_path = %(directory)s/%%C

Maybe your control\_path gets to long (being set to  
ansible-ssh-%h-%p-%r) and thus you run into the BROKEN PIPE error.

Just a guess.

Can you use adhoc commands?

ansible -m ping foobar (for the host foobar)

Johannes
