-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
25 lines (18 loc) · 812 Bytes
/
Vagrantfile
File metadata and controls
25 lines (18 loc) · 812 Bytes
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
Vagrant.require_version ">= 1.7.0"
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# Disable the new default behavior introduced in Vagrant 1.7, to
# ensure that all Vagrant machines will use the same SSH key pair.
# See https://github.com/mitchellh/vagrant/issues/5005
config.ssh.insert_key = false
config.vm.network "forwarded_port", guest: 80, host: 80
#config.vm.synced_folder "/Users/aleksandr.ivanov/Projects", "/project", id: "vagrant-root", :nfs => true
config.vm.synced_folder "/host_machine/folder", "/virtual_machine/folder",
:mount_options => ["dmode=777", "fmode=666"]
config.vm.provider :virtualbox do |vb|
vb.name = "developer_machine"
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "provisioning/playbook.yml"
end
end