Pcornel
Automation · Runbook Automation

Inputs

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

Back to the Topic

Answer

Inputs for runbooks are the values an operator supplies, such as host name, service or incident number, defined with types and validation so the runbook cannot be run against the wrong target.

Remember

  • Inputs must be typed and validated.
  • Validation prevents running against wrong targets.
  • Use safe defaults.

First checks

  • Input parameters with validation — safety
  • Allowed values (dropdowns) — reduce errors
  • Defaults — safe

Verify in this order

operator input → validation → runbook

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Runbook Automation → Inputs · operational reference

LayerRunbook Automation → Inputs 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=5550

Confirmation

Confirm action

Continue?