Questions tagged [rundeck]

Rundeck is an open source workflow automation tool with a web console, CLI tools and a Web API. Written in Java, it allows automation of tasks across a set of nodes.

Rundeck is an open-source workflow automation tool with a web console, CLI tools, and a Web API. Written in Java, it allows the automation of tasks across a set of nodes.

It may be classified as an "ad hoc control tool", similar to Capistrano or Fabric, but additionally offers a Web UI.

Features include

  • Web API
  • distributed command execution
  • pluggable execution system (SSH by default)
  • multi-step workflows
  • job execution with on-demand or scheduled runs
  • graphical web console for command and job execution
  • role-based access control policy with support for LDAP/ActiveDirectory
  • history and auditing logs
  • open integration to external host inventory tools
  • command-line interface tools

Resources

793 questions
2
votes
2 answers

running a rundeck job from a rest api

I would like to allow anyone to trigger a job I've created in Rundeck. I can't understand from the API documentation how to do that. Any one knows, and can give simple examples (my understanding of the subject is minimal to none)? What I've found is…
Yoni
  • 62
  • 1
  • 1
  • 6
2
votes
1 answer

Editing existent YAML and duplicating entries through PyYAML

I have a YAML with the following structure: - description: 'DUMMY_JOB' sequence: commands: - description: Metadata script: ASDF - description: Login jobref: args: ASDF group: '' name: ASDF …
2
votes
1 answer

Rundeck ACL Limit user to only see specific groups in project

Is it possible in Rundeck to limit a user group to only see a specific group inside of a project. The project has 5 different groups "folders" with jobs in there. I can limit run access to the group I want, but I don't want the user group to see…
scott
  • 143
  • 1
  • 2
  • 12
2
votes
1 answer

Rundeck REST endpoint for fetching project details like jobs and node

I am using rundeck 1.6 version and just want to check is there REST endpoint in any 1.6 or any latest version which solves my below requirement. If i pass a project name it gives me all the jobs created under that project with the node names on…
Sam
  • 728
  • 1
  • 9
  • 26
2
votes
1 answer

What do the at-signs in Rundeck's @option.message@ example mean to bash?

The Rundeck docs give the example of defining a message option (parameter) which can then be referred to by the script in a number of ways, including echo message=@option.message@ ;# replacement token We use this syntax and it seems fine, but I…
mrec
  • 760
  • 1
  • 8
  • 16
2
votes
3 answers

Passing optional parameters to rundeck script

I have a python script that I would like to run using rundeck that is invoked as follows: createInstance.py [-n ] Where name is optional and env and version are required. e.g. if I want to call the script with a name I would…
Brian Flynn
  • 269
  • 6
  • 13
2
votes
2 answers

Rundeck - reboot server job

I have a rundeck job that reboots a server, it sends the command "sudo reboot". This works and the server is rebooting. The problem is that rundeck doesn't get a signal back so the job fails. Is there a way to make this work and get a complete…
Hoaxr
  • 73
  • 2
  • 7
2
votes
1 answer

Accessing environmental variables on rundeck node

This is a two-part question. I am running a script using rundeck that depends on access to environmental variables system-wide on the node I'm executing the script on that I have set in /etc/environment. First, how do I get rundeck to ingest the…
apteryx
  • 1,105
  • 7
  • 14
2
votes
1 answer

How to import existing RunDeck projects in MySQL back to new RunDeck?

Had a RunDeck installation which was configured (by some one else who no longer works and made no documentation) to store all meta-data in MySQL. Both were running on different VMs. Lost RunDeck application VM. MySQL still remains. Deployed a new…
Gautam Somani
  • 456
  • 1
  • 4
  • 18
2
votes
1 answer

Import a job in rundeck through curl command from local directory or AWS S3

I am using curl command below to import a test.xml job to rundeck but it is not working. curl -v "X-Rundeck-Auth-Token:XXXXX" -F xmlBatch=@"/home/ec2-user/test.xml" --insecure…
Arpit Garg
  • 31
  • 1
  • 1
  • 5
2
votes
2 answers

rundeck 2.6.8.1 can't change default admin/admin

I've tried to create new admin pass with: java -cp jetty-all-7.6.0.v20120127.jar org.eclipse.jetty.util.security.Password admin 'pass' and copy to realm.properties like this: admin:…
user3820425
  • 61
  • 2
  • 4
2
votes
1 answer

How to use node specific SSH keys with Rundeck AWS EC2 Resource Plugin?

I have configured a Rundeck server with AWS EC2 Resource Plugin for the nodes. Now for multiple EC2 instances i am using different SSH keys. Is there any way to tell Rundeck to use different SSH keys for different EC2 instance(Rundeck Nodes) in…
rubal033
  • 23
  • 5
2
votes
2 answers

Script in Rundeck

I am completely new to RunDeck, please tell how to run a script(Python/shell script) via RunDeck? Say I have a Python script which runs command print ("Hello Rundeck") or I have a shell script which runs command echo "Hello Rundeck". Please tell me…
2
votes
1 answer

Configuring rundeck with ldap for AD authentication

Trying here to see if anyone has worked out LDAP auth against AD with rundeck. I am using the JRE running method for rundesk. Here is what I have done so far: I have set up the jaas-ldap.conf as shown on Rundeck authentication users page I have…
ash
  • 781
  • 1
  • 9
  • 20
2
votes
1 answer

User running a scheduled job in Rundeck

Is there a way to force all scheduled job runs to be performed by a certain user, instead of the user which enabled the scheduling? What I meant is the rundeck user, not the node user, like those defined in the realm.properties file. Let's say I…
capitano666
  • 656
  • 1
  • 9
  • 24