Pcornel
Automation · Rundeck

Jobs

Cheat sheet · https://pcornel.dk/topic.php?topic=5564

Back to the Topic

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> — jobs
  • rd 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

LayerRundeck → Jobs operational reference
Context identityRundeck / Runbook Automation current + exact revision/input/target identity
Persistent intentVersioned contract/configuration with explicit ownership and prerequisites
VerificationValidate inputs/read current state → exercise bounded operation → independent target read-back
Output contractPreserve structured status/IDs/properties before human formatting
Failure boundarySeparate 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

Confirmation

Confirm action

Continue?