forked from fupelaqu/ansible-oraclexe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
29 lines (23 loc) · 841 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
29
# -*- 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.hostname = "vagrant-oraclexe.vm"
config.vm.provider :virtualbox do |vb|
vb.name = "vagrant-oraclexe"
vb.cpus = 2
vb.memory = 2*1024
vb.customize ["modifyvm", :id, "--ioapic", "on"]
end
config.vm.network :private_network, ip: "192.168.56.70"
config.vm.provision "ansible" do |ansible|
#ansible.inventory_path = "vagrant-inventory.ini"
ansible.playbook = "vagrant-playbook.yml"
#ansible.extra_vars = { user: "vagrant" }
#ansible.sudo = true
ansible.limit = 'all'
end
end