Files @ 4b5ca3dcf102
Branch filter:

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

branko
MAR-197: Implement environment indicator for the web_server role:

- Now the environment indicator will also cover the default landing
page for the web server.
- Tweaked the landing page to look a bit better in terms of
margins (particularly important for the environment indicator).
---

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

php_fpm_binary_per_release:
  bullseye: "php-fpm7.4"

php_fpm_pool_directory_per_release:
  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] }}"