ansible-rookeries/pre_deployment.yaml

20 lines
550 B
YAML

---
- hosts: all
sudo: yes
roles:
- { role: ansible-nginx-uwsgi-supervisor,
app_name: rookeries,
app_nginx_hostname: localhost,
app_uwsgi_port: 8001,
app_uwsgi_executable: "rookeries:make_rookeries_app()" }
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