Skip to content

Commit ed38b30

Browse files
committed
fix: bump ansible-lint to resolve dependency change which broke things
ansible-core-2.19 broke with the older version of ansible-lint. Pin the versions we use and test against to match what's in ansible/requirements.txt so that everything stays at the correct versions.
1 parent efd6cae commit ed38b30

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.ansible-lint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22

33
exclude_paths:
44
- ansible/.venv/
5+
6+
# added when we needed to bump ansible-lint to fix dependency breakage
7+
# this should be cleaned up and removed eventually
8+
skip_list:
9+
- var-naming[no-role-prefix]

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ repos:
4949
args: [--fix]
5050
- id: ruff-format
5151
- repo: https://github.com/ansible/ansible-lint
52-
rev: v25.1.2
52+
rev: v25.9.2
5353
hooks:
5454
- id: ansible-lint
5555
entry: "sh -c 'cd ansible && python3 -m ansiblelint -v --force-color'"
5656
verbose: true
5757
always_run: false
5858
additional_dependencies:
59-
- ansible
60-
- jmespath
59+
- ansible-core==2.19.2
60+
- jmespath==1.0.1
6161
files: '^ansible/.*'
6262
- repo: https://github.com/astral-sh/uv-pre-commit
6363
# uv version.

0 commit comments

Comments
 (0)