You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Secondly, the ansible_connection_options function is called in login_cmd_template function where it looks like a command to be run in a terminal is returned.
Does this mean that I should return an AWS CLI SSM command from this function to enable login. This poses some issues because a profile and region may need to be sent in to enable access through SSM.
I hope someone can guide me in this regard and I am happy to contribute this code once I have got it working.
The text was updated successfully, but these errors were encountered:
Dear Folks,
I am using EC2 driver and want to use AWS SSM to connect to the instance as SSH is closed off on the images we use at our organization.
I believe the relevant code is here:
molecule-plugins/src/molecule_plugins/ec2/driver.py
Line 221 in 5ebdfc6
which only supports SSH and WinRM.
I can add another if statement here like this in the code but not sure this is the right approach
Secondly, the
ansible_connection_options
function is called inlogin_cmd_template
function where it looks like a command to be run in a terminal is returned.Does this mean that I should return an AWS CLI SSM command from this function to enable login. This poses some issues because a profile and region may need to be sent in to enable access through SSM.
I hope someone can guide me in this regard and I am happy to contribute this code once I have got it working.
The text was updated successfully, but these errors were encountered: