Breakout nodejs role #6

Merged
dorian.pula merged 1 commits from breakout-nodejs-role into master 2016-11-01 08:24:19 -04:00
2 changed files with 11 additions and 8 deletions

View File

@ -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"

View File

@ -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