oliverdavies.uk-drupal-old/tools/ansible/vars/deploy_vars.yml

55 lines
1.9 KiB
YAML
Raw Normal View History

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_repo: git@github.com:opdavies/oliverdavies-uk.git
ansistrano_git_branch: production
2020-02-07 07:43:17 +00:00
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'
2020-06-17 00:23:31 +00:00
ansistrano_before_symlink_tasks_file: '{{ playbook_dir }}/deploy/before-symlink.yml'
2020-02-07 07:43:17 +00:00
app_hash_salt: '{{ vault_app_hash_salt }}'
release_drush_path: '{{ ansistrano_release_path.stdout }}/vendor/bin/drush'
release_web_path: '{{ ansistrano_release_path.stdout }}/{{ project_web_dir }}'
release_theme_path: '{{ release_web_path }}/themes/custom/opdavies'
2020-02-07 07:43:17 +00:00
drupal_settings:
- 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['deployment_identifier'] = '{{ ansistrano_release_version }}';
2020-02-08 11:52:44 +00:00
$settings['config_exclude_modules'] = [
'devel',
'stage_file_proxy',
];
$config['config_split.config_split.live']['status'] = TRUE;
// 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;