Skip to content

Commit

Permalink
fix(workflow): add missing inventory file parameter to test-upgrade-l…
Browse files Browse the repository at this point in the history
…egacy.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.
  • Loading branch information
CoMfUcIoS committed Sep 23, 2024
1 parent 355cd0b commit f4c6b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-upgrade-legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4c6b6a

Please sign in to comment.