ansible-nginx-uwsgi-supervisor/vars/main.yml

22 lines
556 B
YAML

---
# vars file for ansible-nginx-uwsgi-supervisor
# Web root paths + app name + home
web_user: "{{ ansible_env.SUDO_USER }}"
# Virtualenvs
virtualenv_root: "{{ web_root_path }}/virtualenvs"
uwsgi_venv: "{{ virtualenv_root }}/uwsgi"
app_venv: "{{ virtualenv_root }}/{{ app_name }}"
# NGINX
nginx_app_conf: "{{ app_name }}_uwsgi_nginx.conf"
# Supervisor
supervisor_app_config: "{{ app_name }}_supervisor.conf"
# UWSGI
uwsgi_config: "{{ web_root_path }}/config/uwsgi"
uwsgi_app_ini: "{{ app_name }}_uwsgi.ini"
uwsgi_service_name: "{{ app_name }}_uwsgi"