--- repos: - repo: https://github.com/adrienverge/yamllint.git rev: v1.26.3 hooks: - id: yamllint files: \.(yaml|yml)$ types: [file, yaml] entry: yamllint --strict - repo: https://github.com/ansible/ansible-lint.git rev: v6.2.2 hooks: - id: ansible-lint files: \.(yaml|yml)$