Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Nodes · Rundeck

Direct answer

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.

When to use this

Use this when defining Rundeck target nodes.

First 30 seconds

1. Nodes are execution targets.

2. Use dynamic node sources.

3. Tags for filtering.

4. Connection attributes (user, port, OS).

5. Keep in sync with inventory.

Operational verification

node source → node list → job targets

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 target nodes.
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

Before running a mutating job, query the project resources and evaluate the exact node filter. Compare the concrete matched node names/attributes with the intended scope and reject empty or unexpectedly large sets. Verify required executor attributes—hostname, username, OS family/transport tags—and perform a read-only connectivity probe where appropriate. After job execution, use per-node results plus independent target read-back for the changed service/resource. Test a controlled inventory update to show filter behavior and source refresh timing. If multiple Resource Model Sources contribute attributes, verify the final merged value that Rundeck actually uses rather than assuming one upstream source wins. Preserve the resolved node set with the execution ID. For Rundeck → Nodes, retain the pre-state, concrete execution/correlation identifiers and independent post-state together so the same claim can be checked later without interpreting a generic success message.

Step 2 Common mistakes Narrow the fault
  • Node sources out of date.
Step 3 Where it fails Narrow the fault

Separate upstream inventory/source, Rundeck resource-model refresh/merge, node filter evaluation, executor/transport, job step and actual target state. A node can exist in CMDB but be absent in Rundeck because the source failed; it can appear in Rundeck but not match because an attribute changed; it can match but fail SSH/WinRM; or the command can run while the application remains unhealthy. Do not loosen filters until the expected source attributes are confirmed. Re-running after inventory changes can hit a different target set, so preserve the prior set and execution ID. Correct the first failing step, then resolve the filter again and repeat the target-facing verification. For Rundeck → Nodes, remediation should change the first failing step and then repeat the original bounded operation plus independent read-back; avoid broad retries or scope expansion while target state is uncertain.

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
  • Nodes come from resource model sources.
  • Tags and attributes describe them.
  • Node filters select targets.
Key checks
  • rd nodes list -p <project> — nodes
  • Node source (resource model, NetBox/Ansible inventory) — dynamic
  • Node attributes/tags — filtering
ReferenceWhy it matters1 section · depth on demand

In depth

In Rundeck, nodes are the target systems jobs run on, described by attributes (hostname, OS, tags, user). Jobs select nodes with filters, so tagging nodes well is what makes jobs reusable.

# resources.yaml
web01:
  hostname: 10.0.20.11
  osFamily: unix
  tags: web,prod
  username: rundeck
Filter exampleSelects
tags: web+prodNodes with both tags
osFamily: windowsWindows nodes
name: web.*Name regex

Generate node sources from your inventory system so Rundeck never runs against stale host lists.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

In Rundeck, Nodes are target resources represented by a resource model: each has a unique node name plus attributes such as hostname, username, tags and arbitrary metadata. Nodes can come from static files or dynamic Resource Model Sources such as cloud/CMDB integrations, so the Nodes view is a resolved inventory, not necessarily an authoritative source of truth by itself. Job node filters evaluate this inventory to select execution targets; filters can use names, tags and attributes and may change results as source data changes. Execution then uses configured node executors/file copiers and credentials. A job definition can therefore remain unchanged while its target set changes because inventory metadata or a dynamic source changed. Safe automation resolves and records the concrete node set before mutation. For Rundeck → Nodes, keep runtime identity, ownership, durable intent and consumer-visible target state as separate facts; this prevents a controller status or similarly named object from being mistaken for the state the automation is meant to manage.

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

Define which system owns node identity and attributes, configure Resource Model Sources with deterministic precedence/refresh behavior, and document mandatory attributes used by filters/executors. Avoid human-editing derived node metadata that will be overwritten on refresh. Use stable node names/IDs and controlled tags for environment/role selection. Test source updates before production so missing/renamed attributes do not broaden a filter unexpectedly. Manage SSH/WinRM credentials and executor configuration separately from inventory. Jobs that may affect many nodes should include safe maximum target counts or approval based on resolved scope. Retain enough execution history to reconstruct which concrete nodes matched at run time even if inventory changes later. For Rundeck → Nodes, a fresh non-interactive execution should be reproducible from reviewed prerequisites and versioned intent, with explicit credentials, target scope, dependency versions and rollback/recovery ownership rather than hidden operator-session state.

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

Basis: https://docs.rundeck.com/docs/manual/05-nodes.html · confidence 94%
Embedded reference data

Quick lookup tables

Rundeck → Nodes · operational reference

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

LayerRundeck → Nodes 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/project/$PROJECT/resources"
Expected interpretationThe project resolves the intended node set with stable names/attributes/tags and the node filter used by a job matches exactly the targets expected for that 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

Node-related output should include project, resource-source context if available, resolved node name, hostname/stable external ID, tags/attributes relevant to selection, filter expression and execution ID. For a job, keep per-node dispatch result rather than only a global execution status. Inventory APIs may return large metadata sets; retain a safe subset or hash while preserving target identity. Distinguish “node did not match filter,” “node matched but executor could not connect,” and “command ran but target verification failed.” If dynamic sources refresh between diagnosis and retry, capture the new node set before rerun. This output prevents an incident from being misattributed to the job when the underlying issue was inventory/filter drift. For Rundeck → Nodes, machine-usable identifiers/properties should be captured before presentation formatting; summaries should link back to the exact execution and target records used for the decision.

Confirmation

Confirm action

Continue?