Tuesday, August 29, 2023

Rundeck Create Jobs

Once the Project is created, click on JOBS link on the left pane, on the right side pane -> Click on


Job actions -> New Job


Add a step under Workflow tab (I have chosen "execute a remote command")



Under the Nodes Tab -> select
Nodes - Dispatch to Nodes
Node Filter -> *Show all Nodes
Matched Nodes -> Click on the node you want to choose and then click on + symbol (in green next to Tags)




Click on Schedule tab -> choose the options as required by you

Click on Notifications tab -> choose if you want to notifications or not

Review Other Tab

Click on Save

Click on JOBS link in the left Pane, you will see the Job listed



Highlight the job name and you will find Actions drop down and you will see following options



To Start a Job click on the tiny green icon next to the job name, it pops up a window, you can change the Target Nodes,


Click on Run Job Now



Click on Log Output to see the output from execution of the script


To create a Job on available nodes -> click on NODES in the left pane -> choose all Nodes ->

you can filter out the nodes based on your requirement and on which Nodes you want to run the jobs



Under Actions drop down you have two options

1. Run a command on N nodes
2. Create a job for N nodes




Execute the Job on N nodes