dev-vm/ansible/group_vars/dev.yml

58 lines
1.6 KiB
YAML
Raw Normal View History

2021-04-07 09:49:14 +02:00
# group_vars/dev.yml
# Variables visible to all dev-nodes
---
apache_vhosts:
- servername: webcron.test
documentroot: /mnt/dev-root/public
2021-05-26 11:23:24 +02:00
extra_parameters: |
2022-04-13 13:43:21 +02:00
AssignUserId vagrant vagrant
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/mnt/dev-root/public"
2021-04-07 09:49:14 +02:00
apache_packages:
- apache2
- apache2-utils
2021-05-26 11:23:24 +02:00
- libapache2-mpm-itk
2021-04-07 09:49:14 +02:00
apache_mods_enabled:
- rewrite.load
- headers.load
- proxy.load
- proxy_fcgi.load
apache_remove_default_vhost: true
2022-04-13 13:43:21 +02:00
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"
2021-04-07 09:49:14 +02:00
php_enable_apc: true
php_date_timezone: "Europe/Brussels"
php_upload_max_filesize: 4G
php_post_max_size: 4G
php_memory_limit: 2G
2022-04-13 13:43:21 +02:00
php_xdebug_version: '3.1.4'
2021-04-07 09:49:14 +02:00
php_opcache_zend_extension: "opcache.so"
php_opcache_enable: "1"
php_opcache_enable_cli: "1"
php_opcache_memory_consumption: "128"
php_opcache_interned_strings_buffer: "8"
php_opcache_max_accelerated_files: "10000"
php_opcache_max_wasted_percentage: "5"
php_opcache_validate_timestamps: "1"
php_opcache_revalidate_path: "0"
php_opcache_revalidate_freq: "1"
2021-05-19 20:08:26 +02:00
php_opcache_max_file_size: "0"
2022-04-13 13:43:21 +02:00
mysql_packages:
- mariadb-client
- mariadb-server
- python3-mysqldb
mysql_users:
- name: webcron_rw
password: letmein
host: '%'
2022-04-13 13:43:21 +02:00
priv: "webcron.*:ALL PRIVILEGES"
mysql_databases:
- name: webcron
encoding: utf8
collation: utf8_general_ci
nodejs_npm_global_packages:
- sass
- yarn