File tree Expand file tree Collapse file tree 9 files changed +27
-19
lines changed Expand file tree Collapse file tree 9 files changed +27
-19
lines changed Original file line number Diff line number Diff line change 11---
22- hosts : localhost
3- become : yes
3+ become : true
44 vars :
55 - _domain_name : ci.example.com
66 - _ce_provision_build_tmp_dir : /tmp
77 - _ce_provision_data_dir : /tmp
8- - is_local : yes
8+ - is_local : true
99 - _env_type : utility
1010 - ce_provision :
1111 own_repository : https://github.com/codeenigma/ce-provision.git
Original file line number Diff line number Diff line change 11---
22- hosts : localhost
3- become : yes
3+ become : true
44 vars :
55 - _domain_name : example.com
66 - _ce_provision_build_tmp_dir : /tmp
77 - _ce_provision_data_dir : /tmp
8- - is_local : yes
8+ - is_local : true
99 - _env_type : utility
1010 - ce_deploy :
1111 own_repository : https://github.com/codeenigma/ce-deploy.git
Original file line number Diff line number Diff line change 11---
22
33- hosts: {{ project_name }}-{{ project_name }}
4- become: yes
4+ become: true
55 vars:
66 - project_name: {{ project_name }}
77 - _domain_name: www.{{ project_name }}.local
1010 enable_vnc: true
1111 tasks:
1212 - apt:
13- update_cache: yes
13+ update_cache: true
1414 - import_role:
1515 name: _meta/common_base
1616 - import_role:
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ x-ce_dev:
1111services:
1212 {{ project_name }}:
1313 image: 'codeenigma/blank-blank:latest'
14+ cap_add:
15+ - NET_ADMIN
1416 x-ce_dev:
1517 unison:
1618 - src: ../
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ x-ce_dev:
1111services:
1212 {{ project_name }}:
1313 image: codeenigma/ce-dev-1.x:latest
14+ cap_add:
15+ - NET_ADMIN
1416 x-ce_dev:
1517 unison:
1618 - src: ../
@@ -20,4 +22,4 @@ services:
2022 - linux
2123 ignore:
2224 - Name vendor
23- - Name node_modules
25+ - Name node_modules
Original file line number Diff line number Diff line change 2727 config_sync_directory: "config/sync"
2828 sanitize_command: "sql-sanitize"
2929 # Remove after initial pass, to avoid reinstalling Drupal.
30- force_install: yes
30+ force_install: true
3131 base_url: "https://{{ _domain_name }}"
3232 # Composer command to run.
3333 - composer:
3434 command: install
35- no_dev: no
35+ no_dev: false
3636 working_dir: "{{ deploy_path }}"
37- apcu_autoloader: no
37+ apcu_autoloader: false
3838 pre_tasks:
3939 # You can safely remove these steps once you have a working composer.json.
4040 - name: Download composer file.
4141 get_url:
4242 url: https://raw.githubusercontent.com/drupal/recommended-project/8.8.x/composer.json
4343 dest: "{{ deploy_path }}/composer.json"
44- force: no
44+ force: false
4545 - name: Install drush.
4646 command:
4747 cmd: composer require drush/drush
Original file line number Diff line number Diff line change 11- hosts: {{ project_name }}-web
2- become: yes
2+ become: true
33 vars:
44 - _domain_name: www.{{ project_name }}.local
55 - _env_type: dev
2222 cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
2323 key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
2424 handling: "unmanaged"
25- ratelimitingcrawlers: no
26- is_default: yes
25+ ratelimitingcrawlers: false
26+ is_default: true
2727 servers:
2828 - port: 80
29- ssl: no
30- https_redirect: yes
29+ ssl: false
30+ https_redirect: true
3131 - port: 443
32- ssl: yes
33- https_redirect: no
32+ ssl: true
33+ https_redirect: false
3434 upstreams: []
3535 - php:
3636 version:
4747{% endraw %}
4848 tasks:
4949 - apt:
50- update_cache: yes
50+ update_cache: true
5151 - import_role:
5252 name: _meta/common_base
5353 - import_role:
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ services:
3131 # - Path */sites/*/files
3232 volumes:
3333 - ../:/home/ce-dev/deploy/live.local:delegated
34+ cap_add:
35+ - NET_ADMIN
3436 db:
3537 image: 'codeenigma/drupal8-db:latest'
3638 environment:
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ services:
3131 # - Path */sites/*/files
3232 volumes:
3333 - ../:/home/ce-dev/deploy/live.local:delegated
34+ cap_add:
35+ - NET_ADMIN
3436 db:
3537 image: mariadb
3638 environment:
You can’t perform that action at this time.
0 commit comments