Skip to content

Commit 8b22a75

Browse files
vakwetuopenshift-merge-bot[bot]
authored andcommitted
Pin ansible-core in pre-commit ansible-lint hook
ansible-lint 6.22.2 (used by the pre-commit hook) is incompatible with ansible-core >= 2.16 due to removed internal APIs it depends on. Pin ansible-core==2.15.13 in the hook's additional_dependencies to match test-requirements.txt, preventing cryptic import errors when running pre-commit. Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
1 parent 6c78e19 commit 8b22a75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ repos:
4444
hooks:
4545
- id: ansible-lint
4646
additional_dependencies:
47+
- ansible-core==2.15.13
4748
- netaddr
4849
- jmespath
4950

0 commit comments

Comments
 (0)