diff --git a/deployment/ansible/playbooks/deploy-application-code.yml b/deployment/ansible/playbooks/deploy-application-code.yml index 1ba8ca45..ffe2609c 100644 --- a/deployment/ansible/playbooks/deploy-application-code.yml +++ b/deployment/ansible/playbooks/deploy-application-code.yml @@ -6,7 +6,8 @@ vars: application_code_dest: "/home/deploy/michaelschiemer/current" - git_repository_url: "{{ git_repository_url | default('https://git.michaelschiemer.de/michael/michaelschiemer.git') }}" + git_repository_url_default: "https://git.michaelschiemer.de/michael/michaelschiemer.git" + git_repository_url: "{{ git_repository_url | default(git_repository_url_default) }}" # Determine branch based on environment git_branch: >- {%- if deployment_environment == 'staging' -%}