Ansible role to install gunicorn.
None.
gunicorn_project_dir: The directory of the project containing the wsgi application. Example: /var/www/django_appgunicorn_wsgi_application: The wsgi application to invoke. Example: myapp.wsgi:application
gunicorn_bind_address: The bind method for communication with gunicorn. Default: unix:/var/run/gunicorn.sockgunicorn_log_level: The logging level. Default: infogunicorn_config_dir: The directory to be used for config info. Default: /etc/gunicorngunicorn_log_dir: The directory to store logs. Default: /var/log/gunicorngunicorn_user_name: The user account to run gunicorn under. Default: gunicorngunicorn_group_name: The group to run gunicorn under. Default: gunicorngunicorn_install_path: The folder containing the gunicorn executable. Change if you're using a virtualenv version of this.gunicorn_reload: Whether to activate hot-reloading of code (for development). Default: falsegunicorn_workers: The number of workers to instantiate. Default: 8
- The ScorpionResponse.pip role will be used to install pip
- The ScorpionResponse.supervisord role will be use to install supervisord and run gunicorn with that.
Example usage:
- hosts: all
roles:
- { role: ScorpionResponse.gunicorn }
BSD