Skip to content

Commit

Permalink
chore: only run ansible-lint pre-commit on playbooks
Browse files Browse the repository at this point in the history
Signed-off-by: Bruce Becker <[email protected]>
  • Loading branch information
brucellino committed Mar 20, 2024
1 parent f113320 commit aaa9583
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ repos:
rev: v24.2.1
hooks:
- id: ansible-lint
always_run: false
files: ^.*.yml
additional_dependencies:
- ansible-core>=2.16.0
args: [
"--exclude", "standalone-runner/",
"--exclude", "examples/",
"--exclude", ".pre-commit-config.yaml",
"--exclude", "roles/"
"--exclude", "roles/" # Exclude roles for now.
]


Expand Down

0 comments on commit aaa9583

Please sign in to comment.