chore: ansible extract env vars to inventory

This commit is contained in:
Benjamin Labrecque
2026-07-20 14:10:36 +02:00
parent 118f39391e
commit 1d9946c22e
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -62,6 +62,5 @@ jobs:
uv run ansible-playbook playbooks/add-new-service.yml \
-i "inventories/dev/hosts.yml" \
--extra-vars="repo_root=${{ github.workspace }}" \
--extra-vars="agebd_env=dev" \
--extra-vars="service_name_lower=${{ steps.parse_branch.outputs.service_name_lower }}" \
-v
+2 -2
View File
@@ -99,5 +99,5 @@ jobs:
# 3. Fire the playbook passing variables down
ansible-playbook playbooks/deploy-and-restart-modified-services.yml \
-i "inventories/$AGEBD_ENV/hosts.yml" \
--extra-vars="changed_services_raw='$CHANGED_SVC'" \
--extra-vars="agebd_env=$AGEBD_ENV"
--extra-vars="changed_services_raw='$CHANGED_SVC'"
-v