-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
23 lines (18 loc) · 722 Bytes
/
Vagrantfile
File metadata and controls
23 lines (18 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu13.10"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/saucy/current/saucy-server-cloudimg-i386-vagrant-disk1.box"
config.vm.define "bolt" do |bolt|
bolt.vm.network "private_network", ip: "192.168.111.221"
bolt.vm.network "forwarded_port", guest: 8000, host: 8000
bolt.vm.provision "ansible" do |ansible|
ansible.playbook = "playbooks/provisioning/bolt.yml"
end
end
config.vm.define "gw" do |gw|
gw.vm.network "private_network", ip: "192.168.111.222"
end
config.vm.define "web" do |web|
web.vm.network "private_network", ip: "192.168.111.223"
end
end