How to run shell script from Rundeck

979 views
Skip to first unread message

Raja Shravan

unread,
Oct 13, 2016, 1:07:15 PM10/13/16
to rundeck-discuss
Hello, 

I have a shell script shell-script.sh that needs to be run on linux server01/02/03. I have put a copy of that shell script on all these three servers. Is there a way this could be achieved using Rundeck console?

Thank you, 
Raja Shravan

Peter Garlic

unread,
Oct 14, 2016, 3:44:11 AM10/14/16
to rundeck-discuss
Hi Raja
you can run your scripts as any other system command.
Can you run a "ls" on remote servers? if yes you can run any kind of command, script, etc.

Put them on on path of your remote user or give the absolute path and be shure to have the right access and execution rights of files.
 
-Peter

P.s.
maybe you can also transfer the script on a rundeck job as a "script step"
Reply all
Reply to author
Forward
0 new messages