I can call: ansible all -m ping -i DevHosts --user=ubuntu --private-key=../DevMongo.pem
with DevHosts: [mongo] 1.2.3.4 and ansible will correctly connect to the host. But if I try and store these parameters in an inventory: (as suggested here<http://docs.ansible.com/intro_inventory.html> ) [mongo] 1.2.3.4 ansible_ssh_user=ubuntu ansible_ssh_private_key_file=../DevMongo.pem ansible all -m ping -i DevHosts ... gives me: 1.2.3.4 | FAILED => FAILED: No authentication methods available. Are --private-key and ansible_ssh_private_key_file related? What am I missing here? Cheers - Stuart -- 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/28ee2752-c19c-4268-bbd9-fde08dad166b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
