-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathVagrantfile
26 lines (23 loc) · 1008 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
# -*- 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 = "nrel/CentOS-6.5-x86_64"
config.vm.network "private_network", ip: "192.168.33.17"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048", "--cpus", "2"]
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
config.vm.host_name = "192.168.33.17"
config.vm.define "192.168.33.17" do |shr|
shr.vm.provision "ansible" do |ansible|
ansible.inventory_path = "../FreeSHR-Playbooks/inventories/local"
ansible.playbook = "../FreeSHR-Playbooks/all.yml"
ansible.extra_vars= { java_runtime: "jdk", setup_nrpe: "no" }
ansible.tags = ["setup", "datasense"]
ansible.vault_password_file = "~/.vaultpass.txt"
end
end
end