Automation · Rundeck
Jobs
Cheat sheet · https://pcornel.dk/topic.php?topic=5564
Answer
Rundeck jobs are saved, reusable automation definitions with options, workflow steps, node filters, schedules and notifications, run from the UI, API or CLI.
Remember
- Jobs have options, steps, node filters, schedules and notifications.
- Store job definitions in Git.
- Test before scheduling.
First checks
rd jobs list -p <project>— jobsrd run -p <project> -j <job> -- -opt value— run job- Job definitions exported to git — versioning
Verify in this order
job → workflow on filtered nodes
Where it usually breaks
Trigger → queue accepted → worker lease/pickup → task running → terminal result → target mutation/read-back → effective runtime state → workload.
Rundeck → Jobs · operational reference
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5564