Re: [ansible-project] All host unreachable

11 views
Skip to first unread message

Johannes Kastl

unread,
May 14, 2016, 4:06:37 AM5/14/16
to ansible...@googlegroups.com
On 13.05.16 23:27 Max León wrote:

>> ControlPath=/home/mleon/.ansible/cp/ansible-ssh-%h-%p-%r admin '/bin/sh -c

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

signature.asc
Reply all
Reply to author
Forward
0 new messages