Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible accessing private ip address #1

Open
svennela opened this issue May 13, 2015 · 1 comment
Open

ansible accessing private ip address #1

svennela opened this issue May 13, 2015 · 1 comment

Comments

@svennela
Copy link

Hi Sergio,

I am using your playbook. it creates ec2 instances but not able to ssh into them, I have disabled assign public ip on this subnets. I dont want to have public ip address, is it good idea to create jumpbox and then use ansible from that jumpbox?

fatal: [] => SSH Error: Permission denied (publickey,keyboard-interactive).
It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.

@sw360cab
Copy link
Owner

Hi,
I think you have to verify credentials, certificates, access that are managed by AWS from your console panel.
Since you have your own configuration my placeholder-config may not fit your needs.

I think that Ansible is creating the machine on AWS but then some misconfiguration does not allow it to SSH into the instance. Double check from AWS EC2 Console.

Eventually re-run the playbook, sometimes it is not idempotential and when failing, launching it again against an already existing instance may succeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants