Skip to content

Commit 69acaaf

Browse files
Martin Jacksoncursoragent
andcommitted
fix(ci): enable ansible-lint offline to avoid Galaxy KeyError
ansible-galaxy collection install can raise KeyError 'results' against Galaxy on recent ansible-core (e.g. uv-installed lint in GitHub Actions). offline: true skips requirements.yml installs; lint still passes. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 1be5a2a commit 69acaaf

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.ansible-lint

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Vim filetype=yaml
22
---
3-
offline: false
3+
# Skip ansible-galaxy collection install from requirements.yml. Recent ansible-core
4+
# releases can hit Galaxy API KeyError: 'results' during install (CI and local uv).
5+
# Install collections manually or use creator-ee when you need dependency-aware rules.
6+
offline: true
47
skip_list:
58
- name[template] # Allow Jinja templating inside task and play names
69
- template-instead-of-copy # Templated files should use template instead of copy

0 commit comments

Comments
 (0)