Files @ 814be5def61d
Branch filter:

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

branko
MAR-189: Added support for Debian 11 Bullseye to xmpp_server role:

- Roll-out LDAP client configuration since Bullseye does not come with
a stock one at /etc/ldap/ldap.conf that sets the trust anchor
correctly for validating LDAP server certificates.
- Drop the backports pinning in case of Bullseye (for now let's try to
keep the Buster and Bullseye at same versions for simplicity).
- Drop installation of Python apt bindings (no longer used).
- Tests for Buster and Bullseye need to be split-up a bit due to some
differences around backports etc.
---

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"
  bullseye: "php7.4-fpm"

php_fpm_binary_per_release:
  buster: "php-fpm7.3"
  bullseye: "php-fpm7.4"

php_fpm_pool_directory_per_release:
  buster: "/etc/php/7.3/fpm/pool.d"
  bullseye: "/etc/php/7.4/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] }}"