forked from taoeffect/empress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
60 lines (48 loc) · 1.42 KB
/
Vagrantfile
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
# -*- mode: ruby -*-
Vagrant.configure("2") do |config|
#
# Common Settings
#
config.vm.hostname = "empress.local"
config.vm.network "private_network", ip: "172.16.100.2"
config.vm.provision :ansible do |ansible|
ansible.playbook = "test.yml"
ansible.host_key_checking = false
ansible.extra_vars = { testing: true }
# ansible.tags = ["blog"]
# ansible.skip_tags = ["openvpn"]
ansible.verbose = "vvvv"
end
config.vm.provider :virtualbox do |v|
v.memory = 256
end
config.vm.provider :vmware_fusion do |v|
v.vmx["memsize"] = "256"
end
config.vm.provider :digital_ocean do |provider, override|
override.ssh.private_key_path = "~/.ssh/id_rsa"
override.vm.box = "digital_ocean"
override.vm.box_url = "https://github.com/smdahlen/vagrant-digitalocean/raw/master/box/digital_ocean.box"
provider.ssh_key_name = "TODO"
provider.token = "TODO"
provider.image = "debian-7-0-x64"
provider.region = "nyc3"
provider.size = "512mb"
end
#
# vagrant-cachier
#
# Install the plugin by running: vagrant plugin install vagrant-cachier
# More information: https://github.com/fgrehm/vagrant-cachier
#
if Vagrant.has_plugin? "vagrant-cachier"
config.cache.enable :apt
config.cache.scope = :box
end
#
# Debian 7 64-bit (officially supported)
#
config.vm.define "debian", primary: true do |debian|
debian.vm.box = "box-cutter/debian76"
end
end