forked from seek4science/seek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansible_vars.yml
60 lines (52 loc) · 1.37 KB
/
ansible_vars.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
java_product: jdk # jdk vs jre required due to rjb gem
java_version: 8
java_shell_profile: true
eclipse_distro: mars
eclipse_package: php
eclipse_plugins_install:
- egit
- aptana_studio
# - redmine_mylyn
package_list_eclipse:
- name: firefox
- name: chromium-browser
rvm1_rubies:
- ruby-2.1.9
mysql_databases:
- name: seek_vagrant
state: present
- name: seek_development
state: present
- name: seek_test
state: present
- name: seek_production
state: present
mysql_users:
- name: "mysqluser"
password: "mysqlpassword"
priv: "seek%.*:ALL"
host: "localhost"
state: present
# seek specific variables
seek_initd:
- delayed_job-seek
- soffice
- solr-seek
www_user: vagrant
seek_project_root: /project
rails_env: production
# nginx setup
nginx_remove_default_vhost: true
passenger_ruby: /home/vagrant/sw/rvm/gems/{{ rvm1_rubies[0] }}@seek-1-3/wrappers/ruby
nginx_vhosts:
- listen: "80 default_server"
server_name: "seek.local"
root: "{{ seek_project_root }}/public"
error_log: /var/log/nginx/seek_error.log
access_log: /var/log/nginx/seek_access.log
passenger_user: vagrant
passenger_enabled: "on"
passenger_app_env: "{{ rails_env }}"
# https://www.phusionpassenger.com/library/indepth/ruby/spawn_methods/#smart-spawning-caveats
extra_parameters: "passenger_spawn_method direct;"