forked from jcalazan/ansible-django-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
27 lines (21 loc) · 859 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.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :private_network, ip: "192.168.33.15"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--name", "MyCoolApp", "--memory", "512"]
end
# Shared folder from the host machine to the guest machine. Uncomment the line
# below to enable it.
#config.vm.synced_folder "../../../my-cool-app", "/webapps/mycoolapp/my-cool-app"
# Ansible provisioner.
config.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant.yml"
ansible.host_key_checking = false
ansible.verbose = "v"
end
end