This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.yml
70 lines (56 loc) · 2.57 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
# The git repository url.
deploydrupal_repo: ""
# If set to false, git operations will be skipped. Useful if another tool has
# already deployed the latest code.
deploydrupal_code: true
# The branch to be deployed by git.
deploydrupal_version: "master"
# Will discard any local changes present in the git repository.
deploydrupal_git_force: true
# If set to false, composer install operations will be skipped even if
# composer.json is present.
deploydrupal_composer_install: true
# Set to false to install composer dev dependencies.
deploydrupal_composer_no_dev_dependencies: true
# Enable composer autoload optimization.
# https://getcomposer.org/doc/articles/autoloader-optimization.md#autoloader-optimization
deploydrupal_composer_optimize_autoloader: false
# If set to true, drush site-install will be run during deployment.
# This is sometimesuseful during site development.
deploydrupal_site_install: false
# If set to true, drush site-install will use the config directory specified in
# settings.php as the install "profile". This setting is only used when
# deploydrupal_site_install is true.
deploydrupal_site_install_config: true
# If set to false, drush deploy will not be run as part of deployment.
deploydrupal_drush_deploy: true
# The path the repository should be cloned to.
deploydrupal_dir: "/var/www/html"
deploydrupal_core_path: "{{ deploydrupal_dir }}/web"
# The site name used by Drupal to look up settings and files on the file system.
# ex. the "default" in `sites/default/files`.
deploydrupal_site_name: "default"
deploydrupal_files_become: false
deploydrupal_files_path: "{{ deploydrupal_core_path }}/sites/{{ deploydrupal_site_name }}/files"
deploydrupal_drush_path: "{{ deploydrupal_dir }}/vendor/bin/drush"
deploydrupal_checkout_user: "jenkins"
deploydrupal_apache_user: "www-data"
# Enable to save redis data to disk at the end of deployment.
deploydrupal_redis_flush: false
deploydrupal_redis_host: ""
# Build theme with npm commands.
deploydrupal_npm_theme_build: false
deploydrupal_npm_theme_path: ""
deploydrupal_npm_theme_run_commands: []
# Rebuild Drush cache.
deploydrupal_drush_cache_rebuild: true
# Site file directory folders that need permission fixes after site install.
deploydrupal_file_permission_fix_directories:
- 'styles'
- 'media-icons'
# Config check. Useful for validating config in pre-production environments.
deploydrupal_config_check_structure: false
deploydrupal_config_check_structure_string: "active configuration is identical"
# The pattern used to match settings files that need permissions changed.
deploydrupal_settings_file_pattern: "settings*.php"