Runbooks: imported Bash script fails due to Windows style line endings
Automation action might fail if the target shell type is Bash.
Problem
If you have created an automation action script on a Windows system and imported the script into an automation action, then running this automation action might fail if the target shell type is Bash.
Resolution
Edit the automation action again, add and remove an arbitrary character to the script, and save the automation action. Saving the modified automation action converts the line endings from Windows style to UNIX style. Then, run the automation action again.