Automation · Runbook Automation
Steps
Cheat sheet · https://pcornel.dk/topic.php?topic=5552
Answer
Steps in a runbook are the ordered actions, each with what to do, expected result and what to do if it fails, so they can be followed or automated reliably.
Remember
- Each step has an action, expected result and failure handling.
- Steps are ordered.
- Good steps can be automated directly.
First checks
- Step definitions — actions
- Per-step error handling — stop/continue
- Step logs — detail
Commands
show interfaces Gi1/0/24 status
Verify in this order
step → result → next
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5552