-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
32 lines (24 loc) · 831 Bytes
/
Copy pathVagrantfile
File metadata and controls
32 lines (24 loc) · 831 Bytes
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# http://fgrehm.viewdocs.io/vagrant-cachier
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
else
puts "Run 'vagrant plugin install vagrant-cachier' to speed up provisioning."
end
config.vm.hostname = "dspace"
config.vm.box = "ubuntu/trusty64"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
end
config.vm.provision :ansible do |ansible|
ansible.playbook = "site.yml"
ansible.host_key_checking = false
ansible.extra_vars = { ansible_ssh_user: "vagrant", testing: true }
end
# if ENV['SYNC_REPO']
# config.vm.synced_folder ENV['SYNC_REPO'], "/srv/dspace-src"
# end
config.vm.post_up_message = "Welcome to your testing DSpace VM"
end