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 authored and Techno Tim committed 2026-08-01 12:27:12 -05:00
1 parent 5747bfce0e
commit 665e274820
2 files changed
+22

No files matched your search

+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: