2014/12/02

ansible - SSH encountered an unknown error during the connection

ОКРУЖЕНИЕ: Fedora 20, ansible 1.7.2-1.fc20
ЦЕЛЬ: использовать ansible через ssh соединение
ПРОБЛЕМА: ansible myenvironment -m ping выдаёт ошибки:
eudub-myserver1 | FAILED => SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue
Команда ssh eudub-myserver1 выполняется без проблем
ansible myenvironment -m ping -vvvv выдаёт ошибки:
debug1: Control socket "/home/myuser/.ssh/tmp/eudub-myserver1_22_myuser" does not existdebug3: muxserver_listen: temporary control path /home/myuser/.ssh/tmp/eudub-myserver1_22_myuser.zMuh7FrM1b2EsXTqmuxserver_listen bind(): No such file or directoryeudubs-prdsrv-who02 | FAILED => SSH encountered an unknown error. The output was:OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
~/.ssh/config содержит
#ControlMaster auto
ControlPath /home/myuser/.ssh/tmp/%h_%p_%r
РЕШЕНИЕ: 
mkdir -p ~/.ssh/tmp/

Комментариев нет: