Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Added beet_env var. #341

Merged
merged 1 commit into from
Nov 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions provisioning/ansible/config/default.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ beet_project: drupal
beet_debug: no
beet_domain: "{{ ansible_hostname }}.local"
beet_aliases: []
beet_env_name: BB_ENVIRONMENT
beet_env: vagrant
beet_user: "{{ lookup('env','BEET_USER') | default('vagrant',true) }}"
beet_base: "{{ lookup('env','BEET_BASE') | default('/var/beetbox',true) }}"
beet_root: "{{ beet_base }}"
Expand Down Expand Up @@ -45,6 +47,7 @@ apache_vhosts:
documentroot: "{{ beet_web }}"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ beet_web }}"
SetEnv {{ beet_env_name }} {{ beet_env }}
apache_listen_port_ssl: "{{ (beet_webserver == 'apache') | ternary('443','444') }}"
apache_vhosts_ssl:
- servername: "{{ beet_domain }}"
Expand All @@ -53,6 +56,7 @@ apache_vhosts_ssl:
certificate_key_file: "/etc/ssl/private/ssl-cert-snakeoil.key"
extra_parameters: |
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ beet_web }}"
SetEnv {{ beet_env_name }} {{ beet_env }}
apache_mods_enabled:
- authn_core.load
- expires.load
Expand Down