Breakout nodejs role #6
|
@ -15,14 +15,14 @@ galaxy_info:
|
|||
- web
|
||||
dependencies:
|
||||
# - role: "git+https://bitbucket.org/dorianpula/ansible-nginx-uwsgi-supervisor,,nginx-uwsgi-supervisor"
|
||||
- role: "nginx-uwsgi-supervisor"
|
||||
app_name: "{{ rookeries_app_name }}"
|
||||
app_root_path: "{{ rookeries_app_symlink }}"
|
||||
app_venv: "{{ rookeries_venv_symlink }}"
|
||||
app_nginx_hostname: "{{ rookeries_app_hostname }}"
|
||||
app_uwsgi_port: "{{ rookeries_local_uwsgi_port }}"
|
||||
app_uwsgi_executable: "rookeries:make_rookeries_app()"
|
||||
app_uwsgi_envs: "{{ rookeries_app_config }}"
|
||||
- role: "uwsgi-nginx-supervisor"
|
||||
uwsgi_app_name: "{{ rookeries_app_name }}"
|
||||
uwsgi_app_root_path: "{{ rookeries_app_symlink }}"
|
||||
uwsgi_app_venv: "{{ rookeries_venv_symlink }}"
|
||||
uwsgi_app_nginx_hostname: "{{ rookeries_app_hostname }}"
|
||||
uwsgi_app_port: "{{ rookeries_local_uwsgi_port }}"
|
||||
uwsgi_app_executable: "rookeries:make_rookeries_app()"
|
||||
uwsgi_app_envs: "{{ rookeries_app_config }}"
|
||||
# - role: "git+https://bitbucket.org/dorianpula/ansible-nodejs,,nodejs"
|
||||
- role: "nodejs"
|
||||
node_version_family: "5.x"
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
# App name reused from the nginx-uwsgi-supervisor roles
|
||||
app_name: "{{ rookeries_app_name }}"
|
||||
web_root_path: /srv/www
|
||||
virtualenv_root_path: "{{ web_root_path }}/virtualenvs"
|
||||
web_server_group: www-data
|
||||
|
||||
# Introduced from deployment playbook
|
||||
|
||||
|
|
Loading…
Reference in New Issue