2020-02-07 07:43:17 +00:00
|
|
|
---
|
|
|
|
ansistrano_allow_anonymous_stats: false
|
|
|
|
ansistrano_deploy_via: git
|
|
|
|
ansistrano_deploy_to: '{{ project_root_path }}'
|
|
|
|
ansistrano_git_identity_key_path: '{{ playbook_dir }}/id_deploy'
|
|
|
|
ansistrano_git_repo: git@github.com:opdavies/oliverdavies-uk.git
|
|
|
|
ansistrano_git_branch: master
|
|
|
|
ansistrano_keep_releases: 5
|
|
|
|
ansistrano_shared_paths:
|
|
|
|
- '{{ project_web_dir }}/sites/default/files'
|
|
|
|
|
|
|
|
# Hooks
|
|
|
|
ansistrano_after_symlink_shared_tasks_file: '{{ playbook_dir }}/deploy/after-symlink-shared.yml'
|
|
|
|
ansistrano_after_update_code_tasks_file: '{{ playbook_dir }}/deploy/after-update-code.yml'
|
|
|
|
|
|
|
|
app_hash_salt: '{{ vault_app_hash_salt }}'
|
|
|
|
|
2020-02-08 00:24:26 +00:00
|
|
|
release_drush_path: '{{ ansistrano_release_path.stdout }}/vendor/bin/drush'
|
|
|
|
release_web_path: '{{ ansistrano_release_path.stdout }}/{{ project_web_dir }}'
|
2020-05-14 21:21:30 +00:00
|
|
|
release_theme_path: '{{ release_web_path }}/themes/custom/opdavies'
|
2020-02-08 00:24:26 +00:00
|
|
|
|
2020-02-07 07:43:17 +00:00
|
|
|
drupal_settings:
|
2020-02-08 00:24:26 +00:00
|
|
|
- drupal_root: '{{ release_web_path }}'
|
2020-02-07 07:43:17 +00:00
|
|
|
sites:
|
|
|
|
- name: default
|
2020-05-10 00:44:18 +00:00
|
|
|
filename: settings.local.php
|
2020-02-07 07:43:17 +00:00
|
|
|
settings:
|
|
|
|
hash_salt: '{{ app_hash_salt }}'
|
|
|
|
databases:
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
driver: mysql
|
|
|
|
host: localhost
|
|
|
|
database: oliverdavies_uk
|
|
|
|
username: '{{ app_mysql_user }}'
|
|
|
|
password: '{{ app_mysql_password }}'
|
|
|
|
trusted_hosts:
|
2020-05-18 21:02:37 +00:00
|
|
|
- '^www\.oliverdavies\.uk$'
|
2020-02-08 11:52:44 +00:00
|
|
|
extra_parameters: |
|
|
|
|
$settings['config_exclude_modules'] = [
|
|
|
|
'devel',
|
|
|
|
'stage_file_proxy',
|
|
|
|
];
|
2020-05-14 23:00:19 +00:00
|
|
|
|
|
|
|
$config['config_split.config_split.live']['status'] = TRUE;
|
2020-05-26 21:10:52 +00:00
|
|
|
|
|
|
|
// Configure Cloudflare.
|
|
|
|
$settings['reverse_proxy'] = TRUE;
|
|
|
|
$settings['reverse_proxy_addresses'] = [$_SERVER['REMOTE_ADDR']];
|
|
|
|
$settings['reverse_proxy_header'] = 'CF-Connecting-IP';
|
|
|
|
$settings['omit_vary_cookie'] = TRUE;
|
|
|
|
|