-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
32 lines (28 loc) · 855 Bytes
/
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.define "graphserver" do |graphserver|
graphserver.vm.hostname = "graphserver"
graphserver.vm.network "forwarded_port", guest: 3000, host: 3000
graphserver.vm.provider "virtualbox" do |v|
v.memory = 512
v.cpus = 1
end
graphserver.vm.provision "ansible" do |ansible|
ansible.playbook = "graphserver.yml"
ansible.sudo = true
end
end
config.vm.define "pingcollector" do |pingcollector|
pingcollector.vm.hostname = "pingcollector"
pingcollector.vm.provider "virtualbox" do |v|
v.memory = 512
v.cpus = 1
end
pingcollector.vm.provision "ansible" do |ansible|
ansible.playbook = "pingcollector.yml"
ansible.sudo = true
end
end
end