-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
28 lines (21 loc) · 891 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "precise64"
config.vm.network :private_network, ip: "192.168.33.11"
# config.vm.network :public_network
# config.vm.synced_folder "../data", "/vagrant_data"
# config.vm.synced_folder ".", "/vagrant", :nfs => true
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", nfs: true
config.ssh.private_key_path = ["~/.ssh/id_rsa", "~/.vagrant.d/insecure_private_key"]
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--name", "precise64"]
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.provision :ansible do |ansible|
ansible.playbook = "provisioning/setup.yml"
ansible.raw_arguments = "-i provisioning/ansible_host"
#ansible.inventory_file = "provisioning/ansible_host"
#ansible.verbose = "vvvv"
end
end