-
Notifications
You must be signed in to change notification settings - Fork 5
/
Vagrantfile
28 lines (20 loc) · 816 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'precise64'
config.vm.provider "virtualbox" do |vb, override|
override.vm.box_url = 'http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box'
end
config.vm.provider "vmware_fusion" do |fs, override|
override.vm.box_url = 'http://files.vagrantup.com/precise64_vmware.box'
end
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/site.yml"
#ansible.verbose = 'v'
ansible.sudo = true
ansible.host_key_checking = false
end
end