Automation
Rundeck
Cheat sheet · https://pcornel.dk/topic.php?topic=5560
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.
Remember
- Jobs have options, ACLs and logs.
- Secrets belong in Key Storage.
- Node filters select targets.
First 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
Verify in this order
user/trigger → Rundeck job → node executor → nodes
Where it usually breaks
Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.
→ Rundeck · operational reference
| Layer | Rundeck operational reference |
|---|---|
| Runtime/ownership | Rundeck / Runbook Automation current · identify controller/worker/target ownership before mutation |
| Persistent intent | Versioned configuration/playbook/workflow with explicit dependencies and least-privilege identity |
| Verification | curl -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 interpretation | Server/project identity, job definition/version, options, resolved nodes and execution ID are known, and target state is verified independently after the execution. |
| Recovery boundary | Preserve correlation IDs + pre-state, then verify target/service independently after remediation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5560