Use this when composing Rundeck job steps.
Steps · Rundeck
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.
1. Steps: commands, inline/URL scripts, job references, plugins.
2. Prefer scripts from repo.
3. Log output.
4. Handle exit codes.
5. Reuse via job references.
step → executor → node
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
The negative fixture should deliberately exercise risks such as node filter overreach, ACL/key exposure, plugin drift, schedule overlap, option injection, node partial failure and treating execution success as target-evidence of the actual state, choosing the cases most relevant to step action/shell/uses identity, inputs/env, condition, outputs and conclusion, plus correlation to the external side effect made by the step.
Step 2 Common mistakes Narrow the fault
- Inline scripts with embedded secrets.
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.
- Steps can be commands, scripts, job references or plugins.
- Steps run per node or once.
- Each can have an error handler.
- Step types (command, script, job reference, plugin) — actions
- Step logs per node — output
- Script steps stored in repo — version control
ReferenceWhy it matters1 section · depth on demand
What it is
Rundeck steps are commands, scripts, job references or plugin steps run on target nodes or locally.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Steps are the actions inside a Rundeck job: run a command, execute a script, call another job, or use a plugin (HTTP request, Ansible playbook). They run in order, and the job's strategy decides whether steps run node by node or each step across all nodes first.
| Strategy | Behaviour |
|---|---|
| Node-first | All steps on node 1, then node 2 |
| Step-first (sequential) | Step 1 on all nodes, then step 2 |
| Parallel | Steps on nodes concurrently |
Each step can define error handlers that run if it fails — collect diagnostics, notify, or attempt a fix — and "keep going" settings decide whether the job continues after failures.
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 > Steps. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.rundeck.com/docs/manual/ · confidence 94%