Files @ fb34333e4b48
Branch filter:

Location: majic-ansible-roles/roles/php_website/defaults/main.yml

branko
MAR-181: Use Debian-provided Prosody package instead of project repository:

- Upstream repository has a tendency to drop support for older Debian
releases, and to completely wipe old version repositories.
- It should be way less hassle to simply start using the
Debian-provided packages instead.
- Introduces deprecation tests to check if the role will also clean-up
the non-Debian packages.
---

additional_nginx_config: {}
deny_files_regex: []
index: index.php
packages: []
php_file_regex: \.php$
php_rewrite_urls: []
rewrites: []
additional_fpm_config: {}
website_mail_recipients: "root"
environment_indicator: null

# Internal parameters.
php_fpm_service_name_per_release:
  buster: "php7.3-fpm"

php_fpm_binary_per_release:
  buster: "php-fpm7.3"

php_fpm_pool_directory_per_release:
  buster: "/etc/php/7.3/fpm/pool.d"

admin: "admin-{{ fqdn | replace('.', '_') }}"
user: "web-{{ fqdn | replace('.', '_') }}"
home: "/var/www/{{ fqdn }}"
php_fpm_pool_directory: "{{ php_fpm_pool_directory_per_release[ansible_distribution_release] }}"
php_fpm_binary: "{{ php_fpm_binary_per_release[ansible_distribution_release] }}"
php_fpm_service_name: "{{ php_fpm_service_name_per_release[ansible_distribution_release] }}"