2014-11-18 08:24:39 -05:00
|
|
|
---
|
2015-01-08 18:22:39 -05:00
|
|
|
- hosts: all
|
|
|
|
sudo: yes
|
|
|
|
|
|
|
|
roles:
|
2015-02-26 08:24:52 -05:00
|
|
|
- { role: ansible-nginx-uwsgi-supervisor,
|
|
|
|
app_name: rookeries,
|
|
|
|
app_nginx_hostname: localhost,
|
|
|
|
app_uwsgi_port: 8001,
|
|
|
|
app_uwsgi_executable: "rookeries:make_rookeries_app()" }
|
2015-01-08 18:22:39 -05:00
|
|
|
tasks:
|
|
|
|
- include: pre_deployment/base_linux.yaml
|
|
|
|
- include: pre_deployment/mysql_db.yaml
|
|
|
|
vars:
|
|
|
|
databases:
|
|
|
|
rookeries:
|
|
|
|
username: rookeries
|
|
|
|
password: system_admin
|
|
|
|
- include: pre_deployment/nodejs.yaml
|