blumeops/ansible
Erich Blume da14d4759f Fix minikube role idempotency for zot mirror config
The role was reporting "changed" on every run due to:
1. Trailing newline mismatch: ansible command module strips trailing
   whitespace from stdout, but slurp preserves it in base64 decode
2. Temp file always copied then deleted, causing spurious changes

Fix by:
- Reading desired config directly from role files (delegate_to: localhost)
- Comparing with `| trim` on both sides to normalize whitespace
- Only copying temp file when config actually needs updating
- Task now only runs when config differs, so changed_when: true is correct

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 16:17:57 -08:00
..
group_vars Add grafana datasource provisioning and update workflow docs 2026-01-14 07:23:10 -08:00
inventory Add pre-commit hooks for code quality (#19) 2026-01-16 19:33:02 -08:00
playbooks K8s Migration Phase 2: Grafana to Kubernetes (#30) 2026-01-19 14:40:25 -08:00
roles Fix minikube role idempotency for zot mirror config 2026-01-19 16:17:57 -08:00
ansible.cfg Suppress Python interpreter discovery warning in ansible 2026-01-13 21:26:41 -08:00
requirements.yml Add ansible playbook for indri with prometheus and grafana roles 2026-01-13 21:12:24 -08:00