Skip to content
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
105 changes: 53 additions & 52 deletions templates/drupal10/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
@@ -1,59 +1,60 @@
- hosts: {{ project_name }}-web
become: true
vars:
- _domain_name: www.{{ project_name }}.local
- _env_type: dev
- project_name: {{ project_name }}
- rkhunter:
allow_ssh_root_user: prohibit-password
- mysql_client:
host: {{ project_name }}-db
user: root
password: ce-dev
_domain_name: www.{{ project_name }}.local
_env_type: dev
project_name: {{ project_name }}
rkhunter:
allow_ssh_root_user: prohibit-password
mysql_client:
host: {{ project_name }}-db
user: root
password: ce-dev
{% raw %}
- nginx:
domains:
- server_name: "{{ _domain_name }}"
access_log: "/var/log/nginx-access.log"
error_log: "/var/log/nginx-error.log"
error_log_level: "notice"
webroot: "/home/ce-dev/deploy/live.local/web"
project_type: "drupal8"
ssl:
domain: "{{ _domain_name }}"
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: false
https_redirect: true
- port: 443
ssl: true
https_redirect: false
upstreams: []
- php:
version:
- 8.1
cli:
memory_limit: -1
_env_type: dev
fpm:
_env_type: dev
- php_composer:
version: ''
version_branch: '--2'
keep_updated: true
- xdebug:
cli: true
- lhci:
enable_vnc: true
- nodejs:
version: 18.x
- apt_unattended_upgrades:
enable: false
nginx:
domains:
- server_name: "{{ _domain_name }}"
access_log: "/var/log/nginx-access.log"
error_log: "/var/log/nginx-error.log"
error_log_level: "notice"
webroot: "/home/ce-dev/deploy/live.local/web"
project_type: "drupal8"
ssl:
domain: "{{ _domain_name }}"
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: false
https_redirect: true
- port: 443
ssl: true
https_redirect: false
upstreams: []
php:
version:
- 8.1
cli:
memory_limit: -1
_env_type: dev
fpm:
_env_type: dev
php_composer:
version: ''
version_branch: '--2'
keep_updated: true
xdebug:
cli: true
fpm: true
lhci:
enable_vnc: true
nodejs:
version: 18.x
apt_unattended_upgrades:
enable: false
{% endraw %}
tasks:
- ansible.builtin.apt:
Expand Down
93 changes: 47 additions & 46 deletions templates/drupal8/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
@@ -1,53 +1,54 @@
- hosts: {{ project_name }}-web
become: true
vars:
- _domain_name: www.{{ project_name }}.local
- _env_type: dev
- project_name: {{ project_name }}
- rkhunter:
allow_ssh_root_user: prohibit-password
- mysql_client:
host: {{ project_name }}-db
user: root
password: ce-dev
_domain_name: www.{{ project_name }}.local
_env_type: dev
project_name: {{ project_name }}
rkhunter:
allow_ssh_root_user: prohibit-password
mysql_client:
host: {{ project_name }}-db
user: root
password: ce-dev
{% raw %}
- nginx:
domains:
- server_name: "{{ _domain_name }}"
access_log: "/var/log/nginx-access.log"
error_log: "/var/log/nginx-error.log"
error_log_level: "notice"
webroot: "/home/ce-dev/deploy/live.local/web"
project_type: "drupal8"
ssl:
domain: "{{ _domain_name }}"
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: false
https_redirect: true
- port: 443
ssl: true
https_redirect: false
upstreams: []
- php:
version:
- 7.4
cli:
memory_limit: -1
_env_type: dev
fpm:
_env_type: dev
- xdebug:
cli: true
- lhci:
enable_vnc: true
- apt_unattended_upgrades:
enable: false
nginx:
domains:
- server_name: "{{ _domain_name }}"
access_log: "/var/log/nginx-access.log"
error_log: "/var/log/nginx-error.log"
error_log_level: "notice"
webroot: "/home/ce-dev/deploy/live.local/web"
project_type: "drupal8"
ssl:
domain: "{{ _domain_name }}"
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: false
https_redirect: true
- port: 443
ssl: true
https_redirect: false
upstreams: []
php:
version:
- 7.4
cli:
memory_limit: -1
_env_type: dev
fpm:
_env_type: dev
xdebug:
cli: true
fpm: true
lhci:
enable_vnc: true
apt_unattended_upgrades:
enable: false
{% endraw %}
tasks:
- ansible.builtin.apt:
Expand Down
105 changes: 53 additions & 52 deletions templates/drupal9/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
@@ -1,59 +1,60 @@
- hosts: {{ project_name }}-web
become: true
vars:
- _domain_name: www.{{ project_name }}.local
- _env_type: dev
- project_name: {{ project_name }}
- rkhunter:
allow_ssh_root_user: prohibit-password
- mysql_client:
host: {{ project_name }}-db
user: root
password: ce-dev
_domain_name: www.{{ project_name }}.local
_env_type: dev
project_name: {{ project_name }}
rkhunter:
allow_ssh_root_user: prohibit-password
mysql_client:
host: {{ project_name }}-db
user: root
password: ce-dev
{% raw %}
- nginx:
domains:
- server_name: "{{ _domain_name }}"
access_log: "/var/log/nginx-access.log"
error_log: "/var/log/nginx-error.log"
error_log_level: "notice"
webroot: "/home/ce-dev/deploy/live.local/web"
project_type: "drupal8"
ssl:
domain: "{{ _domain_name }}"
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: false
https_redirect: true
- port: 443
ssl: true
https_redirect: false
upstreams: []
- php:
version:
- 8.0
cli:
memory_limit: -1
_env_type: dev
fpm:
_env_type: dev
- php_composer:
version: ''
version_branch: '--2'
keep_updated: true
- xdebug:
cli: true
- lhci:
enable_vnc: true
- nodejs:
version: 16.x
- apt_unattended_upgrades:
enable: false
nginx:
domains:
- server_name: "{{ _domain_name }}"
access_log: "/var/log/nginx-access.log"
error_log: "/var/log/nginx-error.log"
error_log_level: "notice"
webroot: "/home/ce-dev/deploy/live.local/web"
project_type: "drupal8"
ssl:
domain: "{{ _domain_name }}"
cert: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}.pem"
key: "{{ _ce_dev_mkcert_base}}/{{ _domain_name }}-key.pem"
handling: "unmanaged"
ratelimitingcrawlers: false
is_default: true
servers:
- port: 80
ssl: false
https_redirect: true
- port: 443
ssl: true
https_redirect: false
upstreams: []
php:
version:
- 8.0
cli:
memory_limit: -1
_env_type: dev
fpm:
_env_type: dev
php_composer:
version: ''
version_branch: '--2'
keep_updated: true
xdebug:
cli: true
fpm: true
lhci:
enable_vnc: true
nodejs:
version: 16.x
apt_unattended_upgrades:
enable: false
{% endraw %}
tasks:
- ansible.builtin.apt:
Expand Down