-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdo.yml
33 lines (28 loc) · 795 Bytes
/
do.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
- hosts: all
vars:
app_root: '/home/deploy/app'
app_user: deploy
app_public: "{{app_root}}/current/public"
roles_path: 'provisioner/roles'
nginx_cors_origin: '*'
roles:
- "{{roles_path}}/init"
- "{{roles_path}}/ruby"
- "{{roles_path}}/nodejs"
- "{{roles_path}}/sqlite3"
# - "{{roles_path}}/python-tools"
# - "{{roles_path}}/mongodb"
- "{{roles_path}}/puma"
- "{{roles_path}}/nginx"
tasks:
# - name: Install language support packages
# sudo: yes
# apt: pkg={{ item }} state=latest
# with_items:
# - pkg-config
# - link-grammar
# - liblink-grammar4
# - link-grammar-dictionaries-en
# - name: Run bundler
# command: bash -lc "cd {{ project_root }} && bundle install"