From f4c6b6afb489b2ac48e24d1e2be6474bc09ebb12 Mon Sep 17 00:00:00 2001 From: Ioannis Karasavvaidis Date: Mon, 23 Sep 2024 18:22:44 +0100 Subject: [PATCH] fix(workflow): add missing inventory file parameter to test-upgrade-legacy.yaml Added the `--inventoryfile` parameter to the `peadm::get_peadm_config` task in the `test-upgrade-legacy.yaml` workflow. This ensures the task runs with the correct inventory context. --- .github/workflows/test-upgrade-legacy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-upgrade-legacy.yaml b/.github/workflows/test-upgrade-legacy.yaml index 31e35e58..1c011187 100644 --- a/.github/workflows/test-upgrade-legacy.yaml +++ b/.github/workflows/test-upgrade-legacy.yaml @@ -134,6 +134,7 @@ jobs: compiler=$(yq '.groups[].targets[] | select(.vars.role == "compiler") | .name' spec/fixtures/litmus_inventory.yaml | head -n 1) bundle exec bolt task run peadm::get_peadm_config \ --targets $primary \ + --inventoryfile spec/fixtures/litmus_inventory.yaml \ --modulepath spec/fixtures/modules \ --no-host-key-check \ --format json > peadm_config.json