To be complete:

[jenkins@geppetto ~]$ ansible -vvv cal-25 -m ping -u root --ask-pass
SSH password: 
<cal-25> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO cal-25
<cal-25> REMOTE_MODULE ping
<cal-25> EXEC /bin/sh -c 'mkdir -p 
$HOME/.ansible/tmp/ansible-tmp-1400837387.95-16436599027436 && echo 
$HOME/.ansible/tmp/ansible-tmp-1400837387.95-16436599027436'
<cal-25> PUT /tmp/tmp7uj9w8 TO 
/root/.ansible/tmp/ansible-tmp-1400837387.95-16436599027436/ping
<cal-25> EXEC /bin/sh -c 'LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 
/usr/bin/python 
/root/.ansible/tmp/ansible-tmp-1400837387.95-16436599027436/ping; rm -rf 
/root/.ansible/tmp/ansible-tmp-1400837387.95-16436599027436/ >/dev/null 
2>&1'
cal-25 | success >> {
    "changed": false, 
    "ping": "pong"
}
[jenkins@geppetto ~]$ ansible -vvv cal-25 -m ping -u jenkins
<cal-25> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO cal-25
cal-25 | FAILED => FAILED: Authentication failed.
[jenkins@geppetto ~]$ 
[jenkins@geppetto ~]$ ssh jenkins@cal-25
Last login: Fri May 23 11:24:01 2014 from geppetto.oma.be
[jenkins@cal-25 ~]$ exit
logout
Connection to cal-25 closed.
[jenkins@geppetto ~]$ 


[jenkins@geppetto ~]$ 


-- 
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/8494d96a-2dbd-4840-b84f-1b1f23fc55d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to