when: - event: [pull_request, push] branch: [main] steps: - name: install-roles image: ghcr.io/ansible/community-ansible-dev-tools:latest commands: - ansible-galaxy role install -r requirements.yml -p "$CI_WORKSPACE/roles" - name: lint-ansible image: ghcr.io/ansible/community-ansible-dev-tools:latest commands: - git config --global --add safe.directory "$CI_WORKSPACE" - ansible-lint -v --offline