Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-images/controller-ci/provision.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
- hosts: localhost
become: yes
become: true
vars:
- _domain_name: ci.example.com
- _ce_provision_build_tmp_dir: /tmp
- _ce_provision_data_dir: /tmp
- is_local: yes
- is_local: true
- _env_type: utility
- ce_provision:
own_repository: https://github.com/codeenigma/ce-provision.git
Expand Down
4 changes: 2 additions & 2 deletions docker-images/controller/provision.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
- hosts: localhost
become: yes
become: true
vars:
- _domain_name: example.com
- _ce_provision_build_tmp_dir: /tmp
- _ce_provision_data_dir: /tmp
- is_local: yes
- is_local: true
- _env_type: utility
- ce_deploy:
own_repository: https://github.com/codeenigma/ce-deploy.git
Expand Down
4 changes: 2 additions & 2 deletions templates/blank/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

- hosts: {{ project_name }}-{{ project_name }}
become: yes
become: true
vars:
- project_name: {{ project_name }}
- _domain_name: www.{{ project_name }}.local
Expand All @@ -10,7 +10,7 @@
enable_vnc: true
tasks:
- apt:
update_cache: yes
update_cache: true
- import_role:
name: _meta/common_base
- import_role:
Expand Down
2 changes: 2 additions & 0 deletions templates/blank/ce-dev/ce-dev.compose.prebuilt.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ x-ce_dev:
services:
{{ project_name }}:
image: 'codeenigma/blank-blank:latest'
cap_add:
- NET_ADMIN
x-ce_dev:
unison:
- src: ../
Expand Down
4 changes: 3 additions & 1 deletion templates/blank/ce-dev/ce-dev.compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ x-ce_dev:
services:
{{ project_name }}:
image: codeenigma/ce-dev-1.x:latest
cap_add:
- NET_ADMIN
x-ce_dev:
unison:
- src: ../
Expand All @@ -20,4 +22,4 @@ services:
- linux
ignore:
- Name vendor
- Name node_modules
- Name node_modules
8 changes: 4 additions & 4 deletions templates/drupal8/ce-dev/ansible/deploy.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@
config_sync_directory: "config/sync"
sanitize_command: "sql-sanitize"
# Remove after initial pass, to avoid reinstalling Drupal.
force_install: yes
force_install: true
base_url: "https://{{ _domain_name }}"
# Composer command to run.
- composer:
command: install
no_dev: no
no_dev: false
working_dir: "{{ deploy_path }}"
apcu_autoloader: no
apcu_autoloader: false
pre_tasks:
# You can safely remove these steps once you have a working composer.json.
- name: Download composer file.
get_url:
url: https://raw.githubusercontent.com/drupal/recommended-project/8.8.x/composer.json
dest: "{{ deploy_path }}/composer.json"
force: no
force: false
- name: Install drush.
command:
cmd: composer require drush/drush
Expand Down
16 changes: 8 additions & 8 deletions templates/drupal8/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- hosts: {{ project_name }}-web
become: yes
become: true
vars:
- _domain_name: www.{{ project_name }}.local
- _env_type: dev
Expand All @@ -22,15 +22,15 @@
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: no
is_default: yes
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: no
https_redirect: yes
ssl: false
https_redirect: true
- port: 443
ssl: yes
https_redirect: no
ssl: true
https_redirect: false
upstreams: []
- php:
version:
Expand All @@ -47,7 +47,7 @@
{% endraw %}
tasks:
- apt:
update_cache: yes
update_cache: true
- import_role:
name: _meta/common_base
- import_role:
Expand Down
2 changes: 2 additions & 0 deletions templates/drupal8/ce-dev/ce-dev.compose.prebuilt.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ services:
# - Path */sites/*/files
volumes:
- ../:/home/ce-dev/deploy/live.local:delegated
cap_add:
- NET_ADMIN
db:
image: 'codeenigma/drupal8-db:latest'
environment:
Expand Down
2 changes: 2 additions & 0 deletions templates/drupal8/ce-dev/ce-dev.compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ services:
# - Path */sites/*/files
volumes:
- ../:/home/ce-dev/deploy/live.local:delegated
cap_add:
- NET_ADMIN
db:
image: mariadb
environment:
Expand Down