-
Notifications
You must be signed in to change notification settings - Fork 403
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
Allow for aws_ssm plugin option to be provided by an environment variable #1990
Comments
With most methods of installing it, the This will involve setting the default plugin executable to just |
we use a lookup plugin as a workaround for that
|
…variable (#2247) SUMMARY Closes #1990 Add the possibility to define the aws_ssm_plugin variable using environment variable AWS_SESSION_MANAGER_PLUGIN To avoid breaking change, the default value of the aws_ssm_plugin will remains /usr/local/bin/session-manager-plugin, in case the path is not found, the plugin will try to find the executable from the PATH ISSUE TYPE Feature Pull Request COMPONENT NAME connection/aws_ssm Reviewed-by: Mark Chappell
…variable (#2247) SUMMARY Closes #1990 Add the possibility to define the aws_ssm_plugin variable using environment variable AWS_SESSION_MANAGER_PLUGIN To avoid breaking change, the default value of the aws_ssm_plugin will remains /usr/local/bin/session-manager-plugin, in case the path is not found, the plugin will try to find the executable from the PATH ISSUE TYPE Feature Pull Request COMPONENT NAME connection/aws_ssm Reviewed-by: Mark Chappell (cherry picked from commit c04ca7a)
…variable (#2247) (#2251) This is a backport of PR #2247 as merged into main (c04ca7a). SUMMARY Closes #1990 Add the possibility to define the aws_ssm_plugin variable using environment variable AWS_SESSION_MANAGER_PLUGIN To avoid breaking change, the default value of the aws_ssm_plugin will remains /usr/local/bin/session-manager-plugin, in case the path is not found, the plugin will try to find the executable from the PATH ISSUE TYPE Feature Pull Request COMPONENT NAME connection/aws_ssm Reviewed-by: Mark Chappell Reviewed-by: Bikouo Aubin
Summary
When running the same playbook on different host machines the location of the session-manager-plugin binary may not be in the same location on each machine.
It would be very helpful to be able to load the
ansible_aws_ssm_plugin
option from an environment variable, like many of the other options.Issue Type
Feature Idea
Component Name
aws_ssm
Additional Information
https://github.com/ansible-collections/community.aws/blob/main/plugins/connection/aws_ssm.py#L73-L77
Code of Conduct
The text was updated successfully, but these errors were encountered: