Skip to content

Commit 53a6447

Browse files
committed
Add ansible as a dependency for the ansible-lint pre-commit hook
For some reason ansible-lint does not know about the existence of ansible.posix.mount unless ansible itself is added as an extra dependency. I believe this is because ansible is not installed when ansible-lint is installed.
1 parent c3d2e0f commit 53a6447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ repos:
157157
rev: v24.2.0
158158
hooks:
159159
- id: ansible-lint
160+
additional_dependencies:
161+
- ansible
160162
# files: molecule/default/playbook.yml
161163

162164
# Terraform hooks

0 commit comments

Comments
 (0)