24 lines
667 B
YAML
24 lines
667 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- repo: local
|
|
hooks:
|
|
- id: ansible-galaxy-install
|
|
name: Install ansible-galaxy collections
|
|
entry: ansible-galaxy collection install -r requirements.yaml
|
|
language: system
|
|
pass_filenames: false
|
|
always_run: true
|
|
- repo: https://github.com/ansible/ansible-lint
|
|
rev: v6.22.2
|
|
hooks:
|
|
- id: ansible-lint
|
|
files: \.(yaml)$
|
|
additional_dependencies:
|
|
- ansible-core==2.15.8
|