Files @ c8d4251a6ea5
Branch filter:

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

branko
MAR-131: Added support for specifying Python version in wsgi_website role:

- Introduced additional role parameter for specifying the Python
version.
- Updated tests to verify new functionality.
- Fixed existing tests to account for differences between Python 2 and
Python 3 - including changes to WSGI test applications.
- Updated documentation, documenting new parameter and fixing one
minor typo.
- Updated release notes.
- Bumped default version of Gunicorn/futures used.
---

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 }}"