--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.1.0 hooks: - id: mixed-line-ending - id: check-byte-order-marker - id: check-executables-have-shebangs - id: check-merge-conflict - id: debug-statements - repo: https://github.com/ansible/ansible-lint rev: v4.0.1 hooks: - id: ansible-lint files: \.(yaml|yml)$ exclude: ^(rally/|\.zuul\.yaml) entry: ansible-lint --force-color -v