Unable to connect to ec2-host (errors with permission denied errors) in AWS.
   1. Have the following entry in inventory file
   2. Following command was executed ansible -vvv test_ansible --user
   ansible --private-key=/home/ansible/.ssh/id_rsa -m ping
   --become-user=ansible
It is trying to connect as ec2-user@ec2_remotehost |FAILED> SSH Error:
Permission denied (publickey).
while connecting to ec2_remotehost:22
If this is already fixed, let me know the bug number and I can close this
as duplicate.