Automation · Change Management
Pre-change Validation
Cheat sheet · https://pcornel.dk/topic.php?topic=5939
Answer
Pre-change validation checks that systems are healthy and in the expected state before a change, such as backups taken, services up and configuration matching, so problems are not blamed on the change.
Remember
- Prove the system is healthy before changing it.
- Take or confirm a backup.
- Compare current configuration with what the change expects.
First checks
- Pre-change validation (plan/diff, health, backups) — readiness
terraform plan / ansible --check— dry run- Backup verified — rollback point
Commands
git diff --check- Read-only/validation observation for whitespace/conflict-marker style errors in pending repository changes.
Verify in this order
pre-checks → evidence → proceed
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=5939