rerun the playbook using -vvvv should give you a detailed ssh error. (4 vs 
not 3)

On Saturday, August 2, 2014 9:47:56 PM UTC+2, Tze Yang Ng wrote:
>
> Newbie here, Try to run the below command, but got the error code below, 
> can some one please help. Not sure what i had did wrong.
>
> ansible -i provisioning/hosts -u vagrant -m setup 192.168.111.222 -vvv
>
> <192.168.111.222> ESTABLISH CONNECTION FOR USER: vagrant
>
> <192.168.111.222> REMOTE_MODULE setup
>
> <192.168.111.222> EXEC ['ssh', '-C', '-tt', '-q', '-o', 
> 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 
> 'ControlPath=/Users/tzeyangng/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 
> 'KbdInteractiveAuthentication=no', '-o', 
> 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', 
> '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 
> 'ConnectTimeout=10', '192.168.111.222', "/bin/sh -c 'mkdir -p 
> $HOME/.ansible/tmp/ansible-tmp-1407008722.68-154496619923741 && chmod a+rx 
> $HOME/.ansible/tmp/ansible-tmp-1407008722.68-154496619923741 && echo 
> $HOME/.ansible/tmp/ansible-tmp-1407008722.68-154496619923741'"]
>
> 192.168.111.222 | 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
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2e50c89a-2ddf-42d4-9bd2-bcb24aecfb8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to