I'm just getting started with Ansible and trying to get my first SSH 
connections working.  When I run "ansible all -m ping"  it comes back with 
<fqdn> | FAILED => FAILED: Authentication failed.

How do I dig into the source of that failure? Can ansible find ansible.cfg? 
Is my config wrong?

In a bit more detail, ./ansible.cfg contains the following line:
ssh_args = -o ControlMaster=auto -l <uid> -i <path to ssh>

running ssh with the same configuration options succeeds:
ssh <fqdn> -o ControlMaster=auto -l <same uid> -i <same path to ssh>

I'm running CentOS6 with github-ansible. Ansible is using paramiko for 
comms.  Paramiko is also prompting with:
paramiko: The authenticity of host <fqdn> can't be established. The ssh-rsa 
key fingerprint is 92c509e6410d564bfee721eb8cd7cdab. Are you sure you want 
to continue connecting (yes/no)?      and I respond with "yes\n"



-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to