Pcornel
Automation · Source of Truth

Git Repository

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

Back to the Topic

Answer

A Git repository as source of truth stores configuration, inventories and variables as versioned files, with review through pull requests and full history of every change.

Remember

  • Git stores configuration as versioned files.
  • Changes go through pull requests.
  • History is the audit trail.

First checks

  • git log --oneline -- intent/ — intent history
  • Pull request reviews for intent changes — governance
  • CI validation of data files — quality

Verify in this order

PR → validation → merge → automation

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=5858

Confirmation

Confirm action

Continue?