2014-12-22 18:03:40 -05:00
|
|
|
---
|
|
|
|
# vars file for ansible-nginx-uwsgi-supervisor
|
2015-01-07 18:23:43 -05:00
|
|
|
|
2015-01-21 09:05:19 -05:00
|
|
|
# User
|
2015-01-13 22:45:07 -05:00
|
|
|
web_user: "{{ ansible_env.SUDO_USER }}"
|
|
|
|
|
|
|
|
# Virtualenvs
|
2015-01-21 09:05:19 -05:00
|
|
|
virtualenv_root_path: "{{ web_root_path }}/virtualenvs"
|
|
|
|
uwsgi_venv: "{{ virtualenv_root_path }}/uwsgi"
|
|
|
|
app_venv: "{{ virtualenv_root_path }}/{{ app_name }}"
|
2015-01-09 07:46:01 -05:00
|
|
|
|
|
|
|
# NGINX
|
2015-01-21 09:05:19 -05:00
|
|
|
nginx_app_config: "{{ app_name }}_uwsgi_nginx.conf"
|
2015-01-07 18:23:43 -05:00
|
|
|
|
|
|
|
# Supervisor
|
2015-01-13 22:45:07 -05:00
|
|
|
supervisor_app_config: "{{ app_name }}_supervisor.conf"
|
2015-01-07 18:23:43 -05:00
|
|
|
|
|
|
|
# UWSGI
|
2015-01-21 09:05:19 -05:00
|
|
|
uwsgi_config_path: "{{ web_root_path }}/config/uwsgi"
|
2015-01-13 22:45:07 -05:00
|
|
|
uwsgi_app_ini: "{{ app_name }}_uwsgi.ini"
|
2015-01-21 09:05:19 -05:00
|
|
|
uwsgi_app_service_name: "{{ app_name }}_uwsgi"
|