45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
---
|
|
# Standardwerte für die App-Rolle
|
|
# Standardwerte für die App-Rolle
|
|
|
|
# Deployment-Verzeichnisse
|
|
deploy_root: /var/www/michaelschiemer
|
|
deploy_public: "{{ deploy_root }}/public"
|
|
|
|
# Benutzer
|
|
deploy_user: "{{ ansible_user | default('deploy') }}"
|
|
|
|
# Quellverzeichnis für Dateisynchronisation
|
|
project_source: "{{ playbook_dir | dirname | dirname }}"
|
|
|
|
# Domain
|
|
app_domain: "localhost"
|
|
---
|
|
# Standardwerte für die App-Rolle
|
|
---
|
|
# Standardwerte für die App-Rolle
|
|
|
|
# Deployment-Verzeichnisse
|
|
deploy_root: /var/www/michaelschiemer
|
|
deploy_public: "{{ deploy_root }}/public"
|
|
|
|
# Benutzer
|
|
deploy_user: "{{ ansible_user | default('deploy') }}"
|
|
# Deployment-Variablen
|
|
deploy_root: /var/www/michaelschiemer
|
|
deploy_public: "{{ deploy_root }}/public"
|
|
deploy_user: deploy
|
|
|
|
# Anwendungsvariablen
|
|
app_domain: "{{ hostvars[inventory_hostname]['ansible_host'] | default(inventory_hostname) }}"
|
|
project_source: "{{ playbook_dir }}/../.."
|
|
project_root: "{{ playbook_dir }}/../.."
|
|
# Docker-Compose-Pfad
|
|
docker_compose_project_path: "{{ deploy_root }}"
|
|
# Diese Werte werden nur verwendet, wenn sie nicht anderweitig definiert sind
|
|
deploy_root: /var/www/michaelschiemer
|
|
deploy_public: "{{ deploy_root }}/public"
|
|
deploy_user: "{{ ansible_user | default('deploy') }}"
|
|
app_domain: "localhost"
|
|
project_root: "{{ playbook_dir | dirname }}"
|