Files
@ a5d38f30094b
Branch filter:
Location: majic-ansible-roles/roles/wsgi_website/defaults/main.yml - annotation
a5d38f30094b
863 B
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.
981584549895 981584549895 1b05bae8e440 b5ed796b566a 981584549895 981584549895 981584549895 b5ed796b566a ed37f9854bfb b757d690af42 18cd76ec050d 18cd76ec050d c8d4251a6ea5 c8d4251a6ea5 4ca98a158269 67dd87d59abb 67dd87d59abb c8d4251a6ea5 d9ba7498c212 eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f eba5d5d69e4f c8d4251a6ea5 a5d38f30094b | ---
additional_nginx_config: {}
enforce_https: true
packages: []
rewrites: []
static_locations: []
use_paste: false
virtualenv_packages: []
environment_variables: {}
https_tls_certificate: "{{ lookup('file', tls_certificate_dir + '/' + fqdn + '_https.pem') }}"
https_tls_key: "{{ lookup('file', tls_private_key_dir + '/' + fqdn + '_https.key') }}"
gunicorn_version: "19.9.0"
futures_version: "3.2.0"
website_mail_recipients: "root"
environment_indicator: null
proxy_headers: {}
python_version: 2
wsgi_requirements: []
# Internal parameters.
admin: "admin-{{ fqdn | replace('.', '_') }}"
user: "web-{{ fqdn | replace('.', '_') }}"
home: "/var/www/{{ fqdn }}"
python_interpreter: "/usr/bin/python{{ python_version }}"
no_setuptools: "{% if ansible_distribution_release == 'jessie' %}{% elif ansible_distribution_release == 'stretch' %}--no-setuptools{% endif %}"
|