ansible-community / ansible-community/molecule-plugins

Testing with ec2 on Windows

Open
#47 5 comments 2 reactions 0 assignees View on GitHub
ec2
Dominant language
Python
Stars
164
Forks
113
Avg merge
4d 20h
Merged PRs (30d)
1

Description

Hi, so i was able to successfully able to run molecule converge on a linux ec2 instance, however I am running into barriers for testing on windows ami (specifically base 2019).

The instance gets created, however molecule fails when trying to ssh into the instance (instead of using winrm)

When initializing the role and its driver to ec2, it looks like the default create file is using ssh, how can we change this up for windows?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the EC2 driver's default create file and the connection settings used when a role and driver are initialized. Reproduce the Windows AMI run with molecule converge and trace why SSH is selected instead of WinRM. Done means the instance is reached through WinRM and the Windows test can proceed successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cloud, devops, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.