fix(ci): make Ansible collection lint resilient

- Retry Galaxy collection installation on transient network failures\n- Cache installed collections before running pre-commit\n- Run Ansible-lint offline after collection provisioning
This commit is contained in:
Timothy Stewart
2026-07-30 22:15:43 -05:00
committed by Techno Tim
parent 5747bfce0e
commit 665e274820
2 changed files with 22 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ repos:
- id: ansible-lint
additional_dependencies: [ansible-core==2.18.0]
language_version: python3.12
args: [--offline]
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.6
hooks: