fix: Define stacks_base_path variable with default value
Some checks failed
Security Vulnerability Scan / Check for Dependency Changes (push) Successful in 29s
🚀 Build & Deploy Image / Build Runtime Base Image (push) Successful in 13s
🚀 Build & Deploy Image / Determine Build Necessity (push) Successful in 29s
🚀 Build & Deploy Image / Run Tests & Quality Checks (push) Has been skipped
Security Vulnerability Scan / Composer Security Audit (push) Has been skipped
🚀 Build & Deploy Image / Build Docker Image (push) Successful in 12s
🚀 Build & Deploy Image / Auto-deploy to Staging (push) Failing after 52s
🚀 Build & Deploy Image / Auto-deploy to Production (push) Has been skipped

- Add stacks_base_path variable with default '/home/deploy'
- Fixes 'stacks_base_path is undefined' error in install-composer-dependencies playbook
This commit is contained in:
2025-11-08 15:16:24 +01:00
parent 2e14557b21
commit eeaf025fed

View File

@@ -5,6 +5,8 @@
become: no
vars:
# Base path for deployment stacks
stacks_base_path: "{{ stacks_base_path | default('/home/deploy') }}"
# Determine stack path based on environment
application_stack_dest: >-
{%- if deployment_environment == 'staging' -%}