dev-vm/ansible/group_vars/dev.yml

58 lines
1.6 KiB
YAML

# group_vars/dev.yml
# Variables visible to all dev-nodes
---
apache_vhosts:
- servername: webcron.test
documentroot: /mnt/dev-root/public
extra_parameters: |
AssignUserId vagrant vagrant
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000/mnt/dev-root/public"
apache_packages:
- apache2
- apache2-utils
- libapache2-mpm-itk
apache_mods_enabled:
- rewrite.load
- headers.load
- proxy.load
- proxy_fcgi.load
apache_remove_default_vhost: true
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.1.4'
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"
php_opcache_max_file_size: "0"
mysql_packages:
- mariadb-client
- mariadb-server
- python3-mysqldb
mysql_users:
- name: webcron_rw
password: letmein
host: '%'
priv: "webcron.*:ALL PRIVILEGES"
mysql_databases:
- name: webcron
encoding: utf8
collation: utf8_general_ci
nodejs_npm_global_packages:
- sass
- yarn