20 lines
565 B
YAML
20 lines
565 B
YAML
---
|
|
# vars file for ansible-nginx-uwsgi-supervisor
|
|
|
|
# User
|
|
web_user: "{{ ansible_env.SUDO_USER }}"
|
|
|
|
# NGINX
|
|
nginx_app_config: "{{ app_name }}_uwsgi_nginx.conf"
|
|
|
|
|
|
# UWSGI
|
|
uwsgi_venv: "{{ virtualenv_root_path }}/uwsgi"
|
|
uwsgi_config_path: "{{ web_root_path }}/config/uwsgi"
|
|
uwsgi_app_ini: "{{ app_name }}_uwsgi.ini"
|
|
uwsgi_app_service_name: "{{ app_name }}_uwsgi"
|
|
|
|
# TODO: Document extracted variables
|
|
uwsgi_supervisor_app_command: "{{ uwsgi_venv }}/bin/uwsgi --ini {{ uwsgi_config_path }}/{{ uwsgi_app_ini }}"
|
|
uwsgi_nginx_app_config: "{{ app_name }}_uwsgi_nginx.conf"
|