From fbaa116dfa143c03cd6aaaca0be30d90c64d9f88 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 26 Nov 2024 18:20:09 +0200 Subject: [PATCH] Try to define a custom ANSIBLE_ROLES_PATH .. to tell the Github Action where to install roles via ansible-galaxy. Ref: https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#setting-where-to-install-roles --- .github/workflows/matrix.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/matrix.yml b/.github/workflows/matrix.yml index 2b235ea21..0c83a7e29 100644 --- a/.github/workflows/matrix.yml +++ b/.github/workflows/matrix.yml @@ -22,5 +22,7 @@ jobs: uses: actions/checkout@v4 - name: Run ansible-lint uses: ansible/ansible-lint@v24.10.0 + env: + ANSIBLE_ROLES_PATH: ./roles:roles/galaxy with: requirements_file: requirements.yml