diff --git a/docs/rolereference.rst b/docs/rolereference.rst index ccd94bd0068ea43c3f230414e1515229d1b3c357..7ce18ec09981b14fff4ddc8323099ab8c8424b1e 100644 --- a/docs/rolereference.rst +++ b/docs/rolereference.rst @@ -1645,9 +1645,10 @@ The role implements the following: * Adds website administrator to website's group, so administrator could manage the code and data. * Installs additional packages required for running the role (as configured). -* Sets-up a dedicated Python virtual environment for website. +* Sets-up a dedicated Python virtual environment for website. Python + version can be specified (default is Python 2). * Install ``futures`` package in Python virtual environment (required for - Gunicorn in combination withg Python 2.7). + Gunicorn in combination with Python 2.7). * Install Gunicorn in Python virtual environment. * Installs additional packages required for running the role in Python virtual environment (as configured). @@ -1758,11 +1759,11 @@ Parameters for calculating the user/group name for dedicated website user, as well as home directory of the website user (where data/code should be stored at). -**futures_version** (string, optional, ``3.1.1``) +**futures_version** (string, optional, ``3.2.0``) Version of ``futures`` package to deploy in virtual environment. Required by Gunicorn when using Python 2.7. Default version is tested with the test site. -**gunicorn_version** (string, optional, ``19.7.1``) +**gunicorn_version** (string, optional, ``19.9.0``) Version of Gunicorn to deploy in virtual environment for running the WSGI application. Default version is tested with the test site. @@ -1786,6 +1787,9 @@ Parameters forget to surround them by another set of quotes for YAML syntax, for example ``"\"\""`` or ``'""'``). +**python_version** (string, optional, ``2``) + Python version to use when setting-up the Python virtual environment. + **rewrites** (list, optional, ``[]``) A list of rewrite rules that are applied to incoming requests. Each element of the list should be a string value compatible with the format of ``nginx``