Files
@ a5d38f30094b
Branch filter:
Location: majic-ansible-roles/roles/php_website/defaults/main.yml - annotation
a5d38f30094b
1.0 KiB
text/x-yaml
MAR-132: Workarounds for wsgi_website Python virtual environment in Debian Stretch:
- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
- Manually install setuptools in Python virtual environment on Debian
Stretch, otherwise the pkg-resources==0.0.0 package will mess with
pip freeze etc.
- Add back installation of futures package, even on Python 3 (since it
does not cause any harm).
- A small cleanup of how requirements are treated will be done in
separate ticket.
7727c37bce67 7727c37bce67 1b05bae8e440 7727c37bce67 14eb78a4f466 40473a82c752 7727c37bce67 40473a82c752 40473a82c752 7727c37bce67 18cd76ec050d 18cd76ec050d 4a3c8915f967 4ca98a158269 eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f ff510f233909 ff510f233909 ff510f233909 ff510f233909 | ---
additional_nginx_config: {}
deny_files_regex: []
enforce_https: true
index: index.php
packages: []
php_file_regex: \.php$
php_rewrite_urls: []
rewrites: []
https_tls_certificate: "{{ lookup('file', tls_certificate_dir + '/' + fqdn + '_https.pem') }}"
https_tls_key: "{{ lookup('file', tls_private_key_dir + '/' + fqdn + '_https.key') }}"
additional_fpm_config: {}
website_mail_recipients: "root"
environment_indicator: null
# Internal parameters.
admin: "admin-{{ fqdn | replace('.', '_') }}"
user: "web-{{ fqdn | replace('.', '_') }}"
home: "/var/www/{{ fqdn }}"
php_fpm_pool_directory: "{% if ansible_distribution_release == 'jessie' %}/etc/php5/fpm/pool.d\
{% elif ansible_distribution_release == 'stretch' %}/etc/php/7.0/fpm/pool.d{% endif %}"
php_fpm_binary: "{% if ansible_distribution_release == 'jessie' %}php5-fpm{% elif ansible_distribution_release == 'stretch' %}php-fpm7.0{% endif %}"
php_fpm_service_name: "{% if ansible_distribution_release == 'jessie' %}php5-fpm{% elif ansible_distribution_release == 'stretch' %}php7.0-fpm{% endif %}"
|