New to Molecule need help.. #3563
Replies: 3 comments 21 replies
-
If I understand you correctly, you encounter login issue. It may be not related to Have you tried https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html? |
Beta Was this translation helpful? Give feedback.
-
By default, After you changed it to A public IP would be created by default. Could you check you can access 22 port on created EC2 instance from your linux server? $ nc -vz x.x.x.x 22
Connection to x.x.x.x port 22 [tcp/wap-wsp] succeeded! BTW, the key file names on your linux server are
|
Beta Was this translation helpful? Give feedback.
-
It's weird. The inbound rule should be created by default Could you please show the full command log and your configuration file? If this issue exist, could you please open a new issue in https://github.com/ansible-community/molecule-ec2/issues? |
Beta Was this translation helpful? Give feedback.
-
I am new to molecule. I am having to build a CI/CD pipeline for Ansible playbooks. We have/used to use Chef, we have a CI/CD pipeline that we used for Chef with Kitchen, and Molecule sure looks alot like it. The pipeline we have used Jenkins as the Orchestration, I want to use it all in Gitlab. That as the baseline, I built a server to be a Gitlab runner, it is RHEL 7, I first started to do this with Docker, it appears to operate, now I am trying to go beyond to EC2. I have an EC2 created but when it tries to login, error. I see from the EC2 AWS side, I have no key pair to use. What am I missing? Please forgive my ignorance.
Thank you
Daniel
Beta Was this translation helpful? Give feedback.
All reactions