This commit is contained in:
Jeroen De Meerleer 2022-04-13 13:43:21 +02:00
parent bd6ea4c54d
commit 4e1b363648
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 29 additions and 5 deletions

View File

@ -5,7 +5,8 @@ apache_vhosts:
- servername: webcron.test
documentroot: /mnt/dev-root/public
extra_parameters: |
AssignUserId vagrant vagrant
AssignUserId vagrant vagrant
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/mnt/dev-root/public"
apache_packages:
- apache2
- apache2-utils
@ -16,14 +17,17 @@ apache_mods_enabled:
- proxy.load
- proxy_fcgi.load
apache_remove_default_vhost: true
php_version: "8.0"
php_packages_extra: [ "libapache2-mod-php{{ php_version }}" ]
php_version: "8.1"
php_packages_extra: [ "libapache2-mod-php{{ php_version }}", "php{{ php_version }}-intl", "php{{ php_version }}-mysql", "php{{ php_version }}-zip"]
php_enable_php_fpm: true
php_fpm_pool_user: "vagrant"
php_fpm_pool_group: "vagrant"
php_enable_apc: true
php_date_timezone: "Europe/Brussels"
php_upload_max_filesize: 4G
php_post_max_size: 4G
php_memory_limit: 2G
php_xdebug_version: '3.0.3'
php_xdebug_version: '3.1.4'
php_opcache_zend_extension: "opcache.so"
php_opcache_enable: "1"
php_opcache_enable_cli: "1"
@ -35,3 +39,19 @@ php_opcache_validate_timestamps: "1"
php_opcache_revalidate_path: "0"
php_opcache_revalidate_freq: "1"
php_opcache_max_file_size: "0"
mysql_packages:
- mariadb-client
- mariadb-server
- python3-mysqldb
mysql_users:
- name: webcron_rw
password: letmein
host: '127.0.0.1'
priv: "webcron.*:ALL PRIVILEGES"
mysql_databases:
- name: webcron
encoding: utf8
collation: utf8_general_ci
nodejs_npm_global_packages:
- sass
- yarn

View File

@ -2,7 +2,11 @@
---
- hosts: all
roles:
- geerlingguy.apache
- geerlingguy.php-versions
- geerlingguy.php
- geerlingguy.apache-php-fpm
- geerlingguy.apache
- geerlingguy.php-xdebug
- geerlingguy.mysql
- geerlingguy.composer
- geerlingguy.nodejs