Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Jobs · Rundeck

Direct answer

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

When to use this

Use this when defining Rundeck jobs with options, steps, node filters and schedules.

First 30 seconds

1. Jobs define workflows, options, node filters, schedules.

2. Export YAML to git.

3. Node filters precise.

4. Error handlers.

5. Notifications.

Operational verification

job → workflow on filtered 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 defining Rundeck jobs with options, steps, node filters and schedules.
What next?3 suggested next steps
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 Verification path Verify boundary

Verification begins by resolving the exact job UUID/definition and the option values that will apply, then confirming node filters select the intended targets. Run with a controlled target set and capture the new execution ID. Inspect per-step and per-node results, not only the final aggregate status, because one step may be skipped or a keep-going strategy may allow later work after a failure. If the job calls child jobs or plugins, correlate their execution/plugin identifiers as well. Finally read back the target resource or service independently so 'execution completed' does not become the final evidence. A regression test should repeat a known-safe run after definition changes and compare selected nodes, step ordering/strategy, option mapping and target outcome. Keep definition revision and execution ID together for reproducibility.

Step 2 Common mistakes Narrow the fault
  • Jobs without timeouts.
Step 3 Where it fails Narrow the fault

The major boundaries are job definition lookup, option validation, ACL authorization, scheduling/execution creation, node selection, workflow strategy, individual step/plugin execution and target behavior. A job can be valid but unauthorized; authorized but select zero nodes; execute steps successfully while a child system rejects the requested change; or finish 'successful' when the real service outcome is still pending. Do not modify node filters to work around a target command failure or weaken ACLs because a caller used the wrong identity. Preserve job UUID, execution ID, resolved options and selected nodes first, then diagnose the earliest boundary whose expected state is missing. Re-run the same bounded execution after remediation and verify the target independently.

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
Key points
  • Jobs have options, steps, node filters, schedules and notifications.
  • Store job definitions in Git.
  • Test before scheduling.
Key checks
  • rd jobs list -p <project> — jobs
  • rd run -p <project> -j <job> -- -opt value — run job
  • Job definitions exported to git — versioning
ReferenceWhy it matters1 section · depth on demand

In depth

Rundeck jobs are saved, parameterised procedures made of workflow steps (commands, scripts, Ansible playbooks, HTTP calls) with options, node filters, schedules and error handling.

Job settingPurpose
OptionsInputs with validation and allowed values
Node filterWhere the job runs
Workflow strategyNode-first or step-first, parallel or sequential
Error handlerStep to run on failure
NotificationsEmail/Slack/webhook on result

Store job definitions as YAML in Git and import them, so changes are reviewed like code.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

A Rundeck Job is a stored execution definition that packages options, workflow steps, node filters and execution-control settings into a reusable operational unit. The stable job identity/UUID matters because display name or group can change while callers and ACLs still need to address the same job. At runtime, an execution materializes the job definition plus supplied/default options, selected nodes, strategy and plugin/step versions into a distinct execution record. Workflow behavior can be node-first or step-first, steps can call commands, scripts, other jobs or plugins, and failure handling determines whether later work continues. That means 'job succeeded' is an aggregate result over multiple boundaries rather than a single command status. The job definition is persistent intent; the execution record is historical runtime evidence; the remote target state is a separate evidence layer.

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

Keep important jobs under source-controlled definition/export where possible and treat UUID, option contract, node selection logic, workflow strategy and ACL expectations as reviewed interface state. Separate execution authorization from edit/admin rights, and avoid embedding long-lived credentials directly in job definitions. Reusable jobs should expose constrained options rather than requiring operators to edit workflow steps for each run. When a job calls another job, track the dependency and version expectations so changes do not silently alter upstream procedures. Test changes in a non-production project or controlled target set, then promote the reviewed definition. Preserve execution history according to operational/audit needs, but do not treat old execution output as the current definition. Retiring or renaming jobs should preserve stable references long enough for schedules/API callers to migrate.

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 > Jobs. Documentation verification only; this is not observed lab or production Evidence.

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

Quick lookup tables

Rundeck → Jobs · operational reference

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

LayerRundeck → Jobs operational reference
Context identityRundeck / Runbook Automation current + exact revision/input/target identity
Persistent intentVersioned contract/configuration with explicit ownership and prerequisites
VerificationValidate inputs/read current state → exercise bounded operation → independent target read-back
Output contractPreserve structured status/IDs/properties before human formatting
Failure boundarySeparate source/input/engine/controller execution from downstream target outcome
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Rundeck output should be interpreted at three levels: execution metadata, workflow/step results and remote-node command/plugin output. Record job UUID/name/group, execution ID, initiating user/API identity, option summary with secrets masked, selected nodes, start/end times, final status and each failed/skipped step. Step stdout/stderr can be valuable evidence but may be interleaved across nodes depending on strategy; correlate it with node and step identity before drawing conclusions. Notifications are summaries, not authoritative execution state. If a step returns success but the target has not converged, retain that distinction and continue to target read-back. For repeated automation, structured execution metadata is more comparable than copied console logs and enables reliable before/after analysis.

Confirmation

Confirm action

Continue?