Use this when defining Rundeck jobs with options, steps, node filters and schedules.
Jobs · Rundeck
Rundeck jobs are saved, reusable automation definitions with options, workflow steps, node filters, schedules and notifications, run from the UI, API or CLI.
1. Jobs define workflows, options, node filters, schedules.
2. Export YAML to git.
3. Node filters precise.
4. Error handlers.
5. Notifications.
job → workflow on filtered nodes
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- Jobs have options, steps, node filters, schedules and notifications.
- Store job definitions in Git.
- Test before scheduling.
rd jobs list -p <project>— jobsrd 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 setting | Purpose |
|---|---|
| Options | Inputs with validation and allowed values |
| Node filter | Where the job runs |
| Workflow strategy | Node-first or step-first, parallel or sequential |
| Error handler | Step to run on failure |
| Notifications | Email/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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%Quick lookup tables
Rundeck → Jobs · operational reference
Context-specific ownership, verification, output and failure-boundary lookup for Rundeck → Jobs.
| Layer | Rundeck → Jobs operational reference |
|---|---|
| Context identity | Rundeck / Runbook Automation current + exact revision/input/target identity |
| Persistent intent | Versioned contract/configuration with explicit ownership and prerequisites |
| Verification | Validate inputs/read current state → exercise bounded operation → independent target read-back |
| Output contract | Preserve structured status/IDs/properties before human formatting |
| Failure boundary | Separate source/input/engine/controller execution from downstream target outcome |
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.