forked from notch8-old/ansible-hydra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure_dev.yml
27 lines (26 loc) · 909 Bytes
/
configure_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
- name: provision an ec2 box as a development machine.
hosts: "{{ hosts }}"
user: ubuntu
gather_facts: true
vars:
- project_base: /opt/{{ project_name }}
- app_root: /opt/{{ project_name }}
- 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: ubuntu
roles:
- packages
- set_timezone
- system_setup
- ruby
- openjdk1_8
- hydra-stack/install
- sufia_dependencies/install
- webserver/install
- 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.