Pcornel
Automation · Automation Fundamentals

Repeatability

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

Back to the Topic

Answer

Repeatability means an automation can perform the same defined procedure again under equivalent inputs and preconditions with a consistent operational process and evidence shape.

Remember

  • Repeatability ≠ idempotency; a repeatable task may intentionally create a new backup, rotate a key or append a record on every run.
  • Repeatability ≠ determinism; external systems can legitimately produce different values while the process remains repeatable.
  • Same script file ≠ same run; dependencies, inventory, secrets and environment versions can change behavior.
  • Repeated success ≠ correctness if the same wrong assumption is reproduced each time.

First checks

  • ansible-playbook site.yml && ansible-playbook site.yml — second run shows changed=0
  • git diff — inputs unchanged
  • sha256sum <output> — same output for same input

Verify in this order

versioned inputs + pinned tools → same result

Where it usually breaks

A repeatable process proves the procedure can be reproduced; it does not prove rerunning it is safe, side-effect free or guaranteed to yield identical outputs.

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

Repeatability automation boundary map

BoundaryHealthy evidenceSuspicious evidence
Intent / inputsOwner, scope and authoritative inputs are explicit and versioned where applicableHidden defaults, stale inventory or competing sources of truth
Decision / executionPlan or decision is explainable and actions are bounded per targetBlind fan-out, implicit assumptions or success based only on executor status
State / verificationTarget is re-observed and acceptance criteria prove the intended outcomeNo read-back, perpetual drift, partial side effects or unresolved exceptions
Recovery / evidenceRetry, rollback or escalation behavior is defined and auditableUnknown partial completion, unsafe retry or evidence lost during remediation

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5152

Confirmation

Confirm action

Continue?