Never mind. It was typo in my /etc/ansible/hosts file. On Thursday, April 23, 2015 at 12:15:40 PM UTC-7, Raj Desikavinayagompillai wrote: > > test_ansible is a group. In that ec2_remotehost is the server defined in > the inventory file as follows > > [test] > > ec2_remotehost ansible_ssh_user=ansible > > > userid exists. > > > ansible> ssh ansible@ec2_remotehost -i ~ansible/.ssh/id_rsa works > > > > > > On Thursday, April 23, 2015 at 12:08:57 PM UTC-7, Brian Coca wrote: >> >> This does not seem as much as a bug as a lack of permissions or some >> configuration discrepancy. >> >> Do you have ansible_ssh_user/ssh_host set for the host? >> from the command line switches, you would expect ansible@test_ansible >> , but you report the error as ec2-user@ec2_remotehost >> >> -- >> Brian Coca >> >
-- 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/1243a953-8e0c-4ec0-a7a8-22e057c86da7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
