summaryrefslogtreecommitdiffstats
path: root/.pre-commit-hooks.yaml
blob: 19ff9472c8c518425628af10b328aafc2def5a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# For use with pre-commit.
# See usage instructions at http://pre-commit.com

- id: ansible-lint
  name: Ansible-lint
  description: This hook runs ansible-lint.
  entry: python3 -m ansiblelint -v --force-color
  language: python
  # do not pass files to ansible-lint, see:
  # https://github.com/ansible/ansible-lint/issues/611
  pass_filenames: false
  always_run: true
  additional_dependencies:
    # https://github.com/pre-commit/pre-commit/issues/1526
    # If you want to use specific version of ansible-core or ansible, feel
    # free to override `additional_dependencies` in your own hook config
    # file.
    - .
    - ansible-core>=2.13.3