2014-12-22 18:03:40 -05:00
|
|
|
---
|
|
|
|
# vars file for ansible-nginx-uwsgi-supervisor
|
2015-01-07 18:23:43 -05:00
|
|
|
|
|
|
|
# TODO Make more configurable and flexible
|
|
|
|
# NGINX
|
|
|
|
rookeries_nginx_conf: rookeries-uwsgi_nginx.conf
|
|
|
|
web_server_group: www-data
|
|
|
|
|
|
|
|
# Supervisor
|
|
|
|
# TODO Allow for multiple supervisord configurations
|
|
|
|
supervisor_configs:
|
|
|
|
# - mailsink_supervisor.conf
|
|
|
|
- rookeries_supervisor.conf
|
|
|
|
|
|
|
|
web_server_home: /srv/www
|
|
|
|
|
|
|
|
# UWSGI
|
|
|
|
uwsgi_venv: "{{ web_server_home }}/virtualenvs/uwsgi"
|
|
|
|
uwsgi_config: "{{ web_server_home }}/config/uwsgi"
|
|
|
|
rookeries_uwsgi_ini: rookeries-uwsgi.ini
|
|
|
|
|
|
|
|
# Web folders
|
|
|
|
user: "{{ ansible_env.SUDO_USER }}"
|
|
|
|
web_app_home: /srv/www
|