Files @ aa7b596ef595
Branch filter:

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

branko
MAR-151: Drop rcconf workaround:

- The workaround was needed on Debian Jessie because the systemctl
is-enabled command did not behave correctly for SysV init scripts.
- Drop the installation of the rcconf package.
- Use the "enabled" parameter in service module instead.
---

additional_nginx_config: {}
packages: []
rewrites: []
static_locations: []
use_paste: false
virtualenv_packages: []
environment_variables: {}
website_mail_recipients: "root"
environment_indicator: null
proxy_headers: {}
python_version: 2
wsgi_requirements:
  - futures==3.3.0
  - gunicorn==19.10.0
wsgi_requirements_in:
  - futures
  - gunicorn

# Internal parameters.
admin: "admin-{{ fqdn | replace('.', '_') }}"
user: "web-{{ fqdn | replace('.', '_') }}"
home: "/var/www/{{ fqdn }}"
python_interpreter: "/usr/bin/python{{ python_version }}"
pip_check_requirements_upgrades_directory: "/etc/pip_check_requirements_upgrades{% if python_version | int == 3 %}-py3{% endif %}"