From 36846f8a66a98332e08ff88d26e866cd3d6001cb Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Sat, 13 Dec 2025 11:51:32 +1000 Subject: [PATCH] Fix: Add ANSIBLE_ROLES_PATH to workflow Set ANSIBLE_ROLES_PATH in the GitHub Actions workflow to ensure Ansible can properly resolve the role path when using dynamic role name lookup in converge.yml. This fixes the 'role not found' error in molecule tests on GitHub Actions runners. Change-Id: I6741397ed846e7e87286434885f593620dacee74 Signed-off-by: Anil Belur --- .github/workflows/gerrit-verify.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index 554ba56..8890a1a 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -140,6 +140,7 @@ jobs: ANSIBLE_FORCE_COLOR: "1" MOLECULE_PLATFORM_NAME: ${{ matrix.distro }} MOLECULE_PROJECT_DIRECTORY: ${{ github.workspace }} + ANSIBLE_ROLES_PATH: ${{ github.workspace }}/.. vote: if: ${{ always() }} -- 2.16.6