Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Rundeck

Direct answer

Rundeck is a runbook automation platform that exposes scripts and commands as jobs with options, access control, scheduling and logs, so operators can run them on nodes through a web UI or API.

When to use this

Use this when exposing scripts as controlled jobs in Rundeck.

First 30 seconds

1. Rundeck: job scheduler and runbook automation with projects, nodes, jobs, ACLs, key storage.

2. Node executors (SSH/WinRM).

3. Use key storage for secrets.

4. ACLs per project.

5. Back up database and projects.

Operational verification

user/trigger → Rundeck job → node executor → nodes

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Rundeck / Runbook Automation current
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformRundeck / Runbook Automation current · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when exposing scripts as controlled jobs in Rundeck.
What next?3 suggested next steps
Child topics (this level)12
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Target-state verification ladder Verify boundary

Rundeck uses a strict target-state ladder for job/node-step execution: request accepted → job/task succeeded → target object changed → effective runtime state confirmed → original workload verified.

Step 2 Verification path Verify boundary

Verify the Rundeck server/API identity and project first, then retrieve the exact job definition/ID and effective options. Resolve the node filter to a concrete target set before launch and verify that set matches intent. Start a controlled execution and retain its execution ID; inspect per-step/per-node status and external operation IDs. After completion, independently read the target service/resource because Rundeck success is controller-level evidence. Test a denied ACL/invalid option path and one unavailable-node path to confirm failure classification. If schedules/webhooks trigger jobs, correlate the trigger to execution ID. For upgrades, run a known canary job using representative plugins/executors and compare structured results.

Step 3 Where it fails Narrow the fault

Separate Rundeck server/project configuration, ACL/auth, job definition/options, node/resource-model resolution, plugin/executor transport, individual step/process, external target and service verification. A job can be correctly defined but select the wrong nodes; a node can resolve but be unreachable; a command can exit successfully while the application remains unhealthy. Plugin failures are not target failures, and schedule/webhook problems occur before the job executes. Do not rerun until you know whether the previous execution mutated targets. Preserve execution ID and resolved node set, diagnose the first missing expected state, correct that layer, then repeat the original job and independent target verification.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Rundeck Architecture

Rundeck architecture is a Java web server with a database for jobs and history, executing steps on nodes over SSH, WinRM or plugins, with an API and optional cluster mode.

Subtopic Projects

Rundeck projects group related jobs, nodes, keys and ACLs, typically per team or environment, keeping access and configuration separate.

Subtopic Nodes

Rundeck nodes are the target systems jobs run on, defined by resource model sources such as files, cloud plugins or Ansible inventories, with tags and attributes for filtering.

Subtopic Jobs

Rundeck jobs are saved, reusable automation definitions with options, workflow steps, node filters, schedules and notifications, run from the UI, API or CLI.

Subtopic Workflows

Rundeck workflows define the order of steps in a job, sequential or node-first, with error handlers per step and a strategy for whether to continue on failure.

Subtopic Steps

Rundeck steps are the individual actions in a job workflow: commands, inline scripts, script files, other jobs or plugin steps, run per node or once.

Subtopic Options

Rundeck options are job input parameters with types, defaults, allowed values, validation and secure options for passwords, shown as a form when the job is run.

Subtopic Schedules

Rundeck schedules run jobs automatically on cron-like expressions, with time zone settings and options to prevent overlapping executions.

Subtopic ACL Policies

Rundeck ACL policies are YAML rules that grant users and groups specific rights on projects, jobs, nodes and keys, such as allowing only run, not edit, for operators.

Subtopic Key Storage

Rundeck Key Storage holds passwords and SSH keys used by jobs, referenced by path so secrets never appear in job definitions, with optional external backends like Vault.

Subtopic Plugins

Rundeck plugins add node executors, resource models, step types, notifications and integrations such as Ansible, Kubernetes, Slack and ServiceNow.

Subtopic Rundeck Troubleshooting

Troubleshoot Rundeck by reading the job execution log with debug output, checking node filters and attributes, SSH or WinRM credentials in Key Storage, ACL denials and the service.log.

Key points
  • Jobs have options, ACLs and logs.
  • Secrets belong in Key Storage.
  • Node filters select targets.
Key checks
  • curl -sS -H 'X-Rundeck-Auth-Token: <token>' https://<rundeck>/api/45/system/info — API/system info
  • Project and job inventory — structure
  • ACL policies — access
ReferenceWhy it matters1 section · depth on demand

In depth

Rundeck (PagerDuty Process Automation) is a runbook automation platform: it defines jobs with options and steps, runs them on nodes over SSH/WinRM or via plugins, and provides access control, scheduling, approvals and an audit log for self-service operations.

FeatureUse
Jobs with optionsParameterised runbooks
Node sourcesInventory from files, cloud, Ansible
ACL policiesWho can run which job on which nodes
Workflow stepsCommands, scripts, Ansible, HTTP
Activity logAudit of every execution

It is well suited to giving help-desk or on-call staff safe buttons for routine fixes.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

Rundeck is a runbook/job orchestration system organized around server instance, projects, resource-model Nodes, Jobs/workflows, options, plugins, credentials/key storage and executions. A Job encapsulates ordered workflow steps and can dispatch them locally or to filtered Nodes through executors/plugins. Project configuration and plugin availability influence how the same job behaves, while node/resource sources can change the target set independently of the job definition. Executions have durable IDs and per-step/per-node output that should be treated as controller evidence. Rundeck can integrate many external tools, but the external system remains owner of its resulting state. Therefore a successful execution shows the configured workflow completed according to Rundeck, not that an application or infrastructure objective is healthy.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle

Manage jobs as code/exported definitions where practical, version project configuration and plugins, and define ownership for node sources, ACL policies, key storage and execution-log retention. Separate server administration from job-author permissions and use least-privilege ACLs/tokens. Treat plugin and Rundeck upgrades as behavior changes requiring representative job tests. Node/resource source refresh can broaden or narrow job scope, so critical jobs should validate resolved targets before mutation. Schedule cleanup of old executions/logs while preserving required audit history. Back up server configuration/database/key-storage according to deployment architecture and test recovery. For self-service jobs, constrain options, approvals and target filters so convenience does not become arbitrary privileged execution.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docRundeck / Runbook Automation current current

Authoritative/upstream documentation reviewed for bounded claims in > Rundeck. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.rundeck.com/docs/ · confidence 94%
Embedded reference data

Quick lookup tables

→ Rundeck · operational reference

Context-specific ownership, verification, output and failure-boundary lookup for → Rundeck.

LayerRundeck operational reference
Runtime/ownershipRundeck / Runbook Automation current · identify controller/worker/target ownership before mutation
Persistent intentVersioned configuration/playbook/workflow with explicit dependencies and least-privilege identity
Verificationcurl -fsS -H "X-Rundeck-Auth-Token: $TOKEN" "$RUNDECK_URL/api/45/system/info"; curl -fsS -H "X-Rundeck-Auth-Token: $TOKEN" "$RUNDECK_URL/api/45/project/$PROJECT/jobs"
Expected interpretationServer/project identity, job definition/version, options, resolved nodes and execution ID are known, and target state is verified independently after the execution.
Recovery boundaryPreserve correlation IDs + pre-state, then verify target/service independently after remediation
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Retain server/project/job ID, job revision/export hash when available, execution ID, actor/token identity, option values excluding secrets, resolved nodes, workflow step/plugin, per-node result, start/end timestamps and final execution state. Execution logs are diagnostics; API metadata provides a more stable index. Distinguish queued/scheduled state, controller execution failure, node dispatch/connectivity failure and target command/application failure. For external API/plugin steps, keep returned operation IDs. Secret/key-storage values must never be copied to ordinary logs. If a job affects many nodes, preserve the exact succeeded/failed target sets so remediation does not rerun already-completed work unnecessarily.

Confirmation

Confirm action

Continue?