-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Override path to shutdown command in reboot module #49712
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The ability to change the shutdown command was omitted by design. Given how the shutdown command argument is constructed, it would be somewhat difficult (but not insurmountable) to add this as a parameter to the module. Could you accomplish the same thing with a needs_info |
Makes sense. I suppose that is a valid point. Will need to add AIX support for this - I’ll work on a patch for that Sent with GitHawk |
SUMMARY
Could use the ability to pass a custom path to override the default one.
ISSUE TYPE
COMPONENT NAME
reboot
ADDITIONAL INFORMATION
In my specific case, I call a wrapper script that does some other sanity checks on process owned by a different team before determining it is safe to shutdown, then calling the reboot command. Or, for OSes that haven't yet been accounted for in the code.
The text was updated successfully, but these errors were encountered: