Commit 1d454644 authored by CRAIG BENNER's avatar CRAIG BENNER

Updating for consumption from external projects

parent 74b461e9
...@@ -27,7 +27,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...@@ -27,7 +27,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Create a private network, which allows host-only access to the machine # Create a private network, which allows host-only access to the machine
# using a specific IP. # using a specific IP.
config.vm.network "private_network", ip: "192.168.33.10", hostname: "vm", virtualbox__intnet: "vboxnet0" config.vm.network "private_network", ip: "192.168.33.10", hostname: "vm", virtualbox__intnet: "localDev"
config.ssh.insert_key = false config.ssh.insert_key = false
......
# -*- mode: ruby -*- Vagrant.require_version ">= 1.9.1"
# vi: set ft=ruby :
required_plugins = %w( winrm winrm-fs)
required_plugins.each do |plugin|
system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin
end
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "base-winsvr2012" config.vm.box = "edu.psu/base-winsvr2012"
#config.vm.box_url = "file:///home/cpb113/base_vagrant/psu_winsvr2012_baseBox_1_0_0.tar.gz" config.vm.box_url = "file:///home/cpb113/base-vagrant/psu_winsvr2012_basebox_1_0_0.tar.gz"
config.vm.box_url = "https://nexus.ci.psu.edu/repository/vagrant-boxes/base-winsvr2012.json" #config.vm.box_url = "https://nexus.ci.psu.edu/repository/vagrant-boxes/base-winsvr2012.json"
config.winrm.username = "vagrant" config.winrm.username = "vagrant"
config.winrm.password = "P@ssw0rd" config.winrm.password = "P@ssw0rd"
...@@ -12,7 +17,7 @@ Vagrant.configure("2") do |config| ...@@ -12,7 +17,7 @@ Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 3389, host: 3389 config.vm.network "forwarded_port", guest: 3389, host: 3389
config.vm.network "private_network", ip: "192.168.33.11", virtualbox__intnet: "vboxnet0" config.vm.network "private_network", ip: "192.168.33.11", virtualbox__intnet: "localDev"
config.ssh.insert_key = false config.ssh.insert_key = false
...@@ -25,11 +30,11 @@ Vagrant.configure("2") do |config| ...@@ -25,11 +30,11 @@ Vagrant.configure("2") do |config|
end end
# Enable provisioning with Ansible # Enable provisioning with Ansible
config.vm.provision :ansible do |ansible| #config.vm.provision :ansible do |ansible|
ansible.playbook = "playbook.yml" # ansible.playbook = "playbook.yml"
ansible.groups = { # ansible.groups = {
"vagrant" => ["default"], # "vagrant" => ["default"],
} # }
end #end
end end
...@@ -27,4 +27,4 @@ ...@@ -27,4 +27,4 @@
- name: wait for reboot - name: wait for reboot
local_action: wait_for local_action: wait_for
args: host={{ inventory_hostname }} port=5985 delay=1 timeout=120 state=started args: host={{ inventory_hostname }} port=5985 delay=1 timeout=120 state=started
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment