-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Added executable parameter to the script module #36969
Conversation
I don't think the python3 label is applicable. Python 3 is only in the documentation example. Python 2.7 is the version I developed with and use. |
@@ -48,6 +48,12 @@ | |||
version_added: "2.4" | |||
required: false | |||
default: null | |||
interpreter: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To follow the conventions of shell
and command
, this should instead be executable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. I've changed 'interpreter' to 'executable'.
d12f235
to
41ccaf7
Compare
41ccaf7
to
ec25742
Compare
ec25742
to
8dde778
Compare
shippable failures for FreeBSD |
* Added interpreter parameter to the script module * Let required and default parameters get documented implicitly for binary parameter * Renamed interpreter parameter to executable
* Added interpreter parameter to the script module * Let required and default parameters get documented implicitly for binary parameter * Renamed interpreter parameter to executable
SUMMARY
Added an interpreter parameter to the script module. This allows the script to be executed remotely using a specific interpreter under a system path or full path provided by the user.
ISSUE TYPE
COMPONENT NAME
script module
ANSIBLE VERSION
ADDITIONAL INFORMATION
I used the same "space in filename/path logic" as the free_form parameter.