-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathVagrantfile
More file actions
22 lines (20 loc) · 826 Bytes
/
Copy pathVagrantfile
File metadata and controls
22 lines (20 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- 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 = "ubuntu/trusty64"
config.vm.network :private_network, ip: "192.168.50.50"
config.vm.provision "ansible" do |ansible|
ansible.verbose = "v"
ansible.playbook = "setup.yml"
ansible.inventory_path = "vagrant-inventory"
ansible.host_key_checking = "false"
ansible.limit = "all"
end
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
config.vm.synced_folder ".", "/vagrant", owner:"www-data", group:"www-data", mount_options:["dmode=775", "fmode=775"]
end