2013-09-08 19:16:18 +02:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure("2") do |config|
|
2014-01-26 20:59:29 +01:00
|
|
|
config.vm.box = "precise64-current"
|
|
|
|
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
|
2013-09-08 19:16:18 +02:00
|
|
|
config.vm.network :forwarded_port, guest: 8080, host: 5000
|
2014-01-26 20:59:29 +01:00
|
|
|
config.vm.network :private_network, ip: "172.16.5.10"
|
|
|
|
config.vm.synced_folder ".", "/vagrant", nfs: true
|
2013-09-08 19:16:18 +02:00
|
|
|
config.ssh.forward_agent = true
|
|
|
|
config.vm.provider :virtualbox do |vb|
|
|
|
|
vb.customize ["modifyvm", :id, "--memory", "1024"]
|
|
|
|
end
|
2014-01-26 20:59:29 +01:00
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
|
|
ansible.playbook = "provisioning/playbook.yml"
|
|
|
|
ansible.inventory_path = "provisioning/development"
|
|
|
|
end
|
2013-09-08 19:16:18 +02:00
|
|
|
end
|