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
|
2020-06-10 21:13:53 +00:00
|
|
|
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_update_code_tasks_file: '{{ playbook_dir }}/deploy/after-update-code.yml'
|
2020-10-09 15:27:44 +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 }}'
|
|
|
|
|
2021-01-01 21:46:04 +00:00
|
|
|
post_tweet_webhook_url: '{{ vault_post_tweet_webhook_url }}'
|
2020-07-19 19:12:08 +00:00
|
|
|
|
2020-12-24 11:00:51 +00:00
|
|
|
release_drush_path: '{{ ansistrano_release_path.stdout }}/bin/drush'
|
2020-02-08 00:24:26 +00:00
|
|
|
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-09-04 19:19:00 +00:00
|
|
|
drupal_permissions:
|
|
|
|
sites:
|
|
|
|
- root: "{{ release_web_path }}"
|
|
|
|
files_directories:
|
|
|
|
- sites/default/files
|
|
|
|
settings_files:
|
|
|
|
- sites/default/settings.php
|
|
|
|
- sites/default/settings.local.php
|
|
|
|
user: root
|
|
|
|
|
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
|
2021-01-07 20:40:51 +00:00
|
|
|
host: '127.0.0.1'
|
2020-02-07 07:43:17 +00:00
|
|
|
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: |
|
2020-07-01 22:51:04 +00:00
|
|
|
$settings['deployment_identifier'] = '{{ ansistrano_release_version }}';
|
|
|
|
|
2020-02-08 11:52:44 +00:00
|
|
|
$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;
|
|
|
|
|
2021-01-01 21:46:04 +00:00
|
|
|
$config['opdavies_blog.settings']['post_tweet_webhook_url'] = '{{ post_tweet_webhook_url }}';
|