33 lines
967 B
YAML
33 lines
967 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-added-large-files
|
|
|
|
- repo: https://github.com/adrienverge/yamllint
|
|
rev: v1.26.3
|
|
hooks:
|
|
- id: yamllint
|
|
args: [-c=.yamllint]
|
|
|
|
- repo: https://github.com/robertdebock/pre-commit
|
|
rev: v1.5.2
|
|
hooks:
|
|
- id: ansible_role_find_unused_variable
|
|
- id: ansible_role_find_empty_files
|
|
- id: ansible_role_find_empty_directories
|
|
- id: ansible_role_find_undefined_handlers
|
|
- id: ansible_role_find_unquoted_values
|
|
- id: ansible_role_find_horizontal_when
|
|
|
|
- repo: https://github.com/ansible-community/ansible-lint.git
|
|
rev: v6.17.0 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
|
|
hooks:
|
|
- id: ansible-lint
|
|
files: \.(yaml|yml)$
|
|
verbose: true
|
|
args: ["-p", "./"]
|