-
Notifications
You must be signed in to change notification settings - Fork 5
/
Vagrantfile
29 lines (24 loc) · 845 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_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box_check_update = false
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.define 'ansible-vm' do |cfg|
cfg.vm.box = 'abessifi/centos-7.1-ansible'
cfg.vm.hostname = 'ansible-vm'
cfg.vm.network 'private_network', ip: '192.168.33.101'
cfg.vm.provider 'virtualbox' do |v|
v.name = 'ansible-vm'
v.cpus = 2
v.memory = 4 * 1024
end
cfg.vm.provision 'ansible' do |ansible|
ansible.playbook = 'provision.yml'
ansible.inventory_path = 'vagrant-inventory.ini'
ansible.limit = 'ansible-vm'
ansible.tags = 'install-java,wls-plain-install,osb-create-db-schemas,osb-install-and-init'
ansible.verbose = 'v'
end
end
end