forked from notch8/ansible-hydra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vagrant_dev.yml
31 lines (29 loc) · 1.07 KB
/
vagrant_dev.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
---
- name: provision a vagrant box as a development machine.
hosts: vagrant
remote_user: vagrant
vars:
- keys_to_add: #leave blank; don't need ssh keys for vagrant instance.
- install_user: vagrant
- install_group: vagrant
- become_user: vagrant
- project_base: /vagrant
- app_root: /vagrant
- rails_env: development
- base_path: /dev
# Unfortunately named, but needed for resque-pool init script
# in roles/sufia_dependencies/install/defaults/main.yml
- capistrano_user: vagrant
roles:
- { role: packages }
- { role: set_timezone }
- { role: system_setup }
- { role: ruby }
- { role: hydra-stack/install }
- { role: sufia_dependencies/install }
- { role: webserver/install }
- { role: webserver/config }
# bundle install hasn't been run? Makes sense; that's done with capistrano deployment
# resque-pool can't start until bundle install has been run because it loads the actual code.
# rubyracer was installed on prod only; needed to move gem to general sectionof Gemfile
# ports 8983 need to say 8080.