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/4bc587c6-fb8d-466d-a75c-e3a9a8310f44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to