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
4
votes
3 answers

Rundeck sharing variables across job steps

I want to share a variable across rundeck job steps. Initialized a job option "target_files" Set the variable on STEP 1. RD_OPTION_TARGET_FILES=some bash command echo $RD_OPTION_TARGET_FILES The value is printed here. Read the variable from STEP…
Naveen Karnam
  • 433
  • 2
  • 9
  • 26
4
votes
2 answers

How can be set an ACL policy to allow a user to only run a job on Rundeck?

Can anybody help me in how to configure a user in Rundeck to 1) only run a job 2) deny modification/deletion of existing job 3) deny creation of new jobs I suppose I need to set this configuration in the aclpolicy.yaml file but I…
Max
  • 2,508
  • 3
  • 26
  • 44
4
votes
3 answers

Add a remote node in rundeck

I want to be able to execute shell commands on remote nodes using Rundeck and I found this video that explains how to do that but I don't understand the private-key part and how to configure it. I keep getting the following error: Authentication…
tkyass
  • 2,968
  • 8
  • 38
  • 57
4
votes
1 answer

Trigger Rundeck Job via API

Rundeck supports triggering jobs via their API. The API documentation is available under documentation. We are using API version 13 which does not yet support application/json. Therefore i need to use the XML based request. In my previous attempts,…
sebastian
  • 813
  • 1
  • 7
  • 14
4
votes
1 answer

Rundeck - Disable logging of password field

Kindly help me with any configuration changes that can be done to avoid logging of password field in rundeck logs. It seems even though password fields are not visible via UI but in rundeck logs it does capture it as a plaintext. The issue still…
KronnorK
  • 539
  • 5
  • 17
4
votes
1 answer

How to use sensitive passwords needed to run scripts within RunDeck?

I have a case where the RunDeck scripts do need some credentials in order to run. Obviously we do not want to store these in the job definitions because these are visible and also stored in SCM. While I was able to use the Key Storage vault to put…
sorin
  • 161,544
  • 178
  • 535
  • 806
4
votes
2 answers

Is there a way we can select a host tags dynamically in "Node Filter" section based on the value selected in "Options" field?

Is there a way we can select a host tags dynamically in "Node Filter" section based on the value selected in "Options" field ? Currently I need to run a job on different set of hosts based on the "Options" field selected. Let say i have two options…
Kannan Mohan
  • 1,810
  • 12
  • 15
3
votes
1 answer

Rundeck NodesetEmptyException: No matched nodes

Unfortunately, occassionally we receive a following Rundeck exception for some of the scheduled jobs: com.dtolabs.rundeck.core.NodesetEmptyException: No matched nodes: NodeSet{includes={name= myrealhost.com, dominant=false, }} at…
Tushar Gautam
  • 458
  • 6
  • 19
3
votes
0 answers

Random performances issues on python script jobs running in GCP hosted Rundeck (urllib3/Request/SSL ?)

This will be a quite long post, detailing my problems and the results of my research at the moment. Context: Currently I have a Rundeck on a GCP server with python scripts running on it. Python scripts are used to interact with other services using…
3
votes
1 answer

Where does Rundeck store job logs?

Let's say I connect to the Rundeck UI at :4440. I construct a job, schedule it to run every 15 min., then wait a few days. Then, I want to do some analysis of the Job runlogs, gathering some statistics from logging statements I added. The…
Mark Lavin
  • 1,002
  • 1
  • 15
  • 30
3
votes
0 answers

How to gracefully stop job execution when it’s killed on the Rundeck Web UI?

This is the same question as How to gracefully stop job execution when one step fails in Rundeck? except that I want to gracefully stop a job when it’s killed from the Web UI. I’ve a similar job as the other question author: it dumps some SQL…
bfontaine
  • 18,169
  • 13
  • 73
  • 107
3
votes
0 answers

How to import rundeck job in yaml using ruby restclient

Can't find example nether in official site nor anywhere else. Which key to use to attach yaml file to post request. For example, for xml is xmlBatch
3
votes
1 answer

Run ansible-vault encrypt_string in ansible playbook

I have a job in Rundeck, which require users to pass in database password to ansible. And ansible will take it as an extra variable. ansible-playbook test.yml -e "password=123" However, we would like to vault the password during the runtime, but…
Jervis Lin
  • 151
  • 1
  • 3
  • 11
3
votes
1 answer

Regex matching only second group

Is there any way that just match the string of second group by just using regex? The tool I'm using is Rundeck's Global Log Filters (Hightlight Output) Tool description: Regular Expression to test. Use groups to selectively highlight. More Use a…
Jervis Lin
  • 151
  • 1
  • 3
  • 11
3
votes
1 answer

How to get an option's name in a Rundeck JOB?

I have a JOB rundeck called "TEST" I have an option called country this option retreives a list of key, value from a remote URL as : [ {"name":"FRANCE", "value":"FR"}, {"name":"ITALY", "value":"IT"}, {"name":"ALGERIA", "value":"DZ"} ] I…
Stranger B.
  • 9,004
  • 21
  • 71
  • 108
1
2
3
52 53