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.yml 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|yml)$ additional_dependencies: - ansible-core==2.15.8