I explicitly defined remote_user as jenkins, it still wants to use root, 
any ideas?:




[jenkins@geppetto ~]$ cat ~/.ansible.cfg 
[defaults]
log_path=/home/jenkins/.ansible/var/log/ansible.log
remote_user = jenkins
sudo_user = root

[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 ~]$ cat /home/jenkins/.ansible/var/log/ansible.log
2014-05-23 11:47:08,693 p=4285 u=jenkins | 
2014-05-23 11:47:08,693 p=4285 u=jenkins | /opt/ansible/bin/ansible -vvv cal
-25 -m ping -u jenkins
2014-05-23 11:47:08,694 p=4285 u=jenkins | 
2014-05-23 11:47:08,755 p=4285 u=jenkins | <cal-25> ESTABLISH CONNECTION 
FOR USER: root on PORT 22 TO cal-25
2014-05-23 11:47:09,048 p=4285 u=jenkins | cal-25 | FAILED => FAILED: 
Authentication failed.
[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/27043463-dceb-4e21-9099-215f821d91c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to