From: Anil Belur Date: Sat, 13 Dec 2025 01:51:32 +0000 (+1000) Subject: Fix: Add ANSIBLE_ROLES_PATH to workflow X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=36846f8a66a98332e08ff88d26e866cd3d6001cb;p=ansible%2Froles%2Flf-recommended-tools.git 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 --- 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() }}