Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
Infrastructure
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIT-SWE
Infrastructure
Commits
1d454644
Commit
1d454644
authored
Jun 07, 2017
by
CRAIG BENNER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating for consumption from external projects
parent
74b461e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
14 deletions
+19
-14
base-boxes/base-centos/Vagrantfile
base-boxes/base-centos/Vagrantfile
+1
-1
base-boxes/base-winsvr2012/Vagrantfile
base-boxes/base-winsvr2012/Vagrantfile
+17
-12
roles/ActiveDirectory/tasks/main.yml
roles/ActiveDirectory/tasks/main.yml
+1
-1
No files found.
base-boxes/base-centos/Vagrantfile
View file @
1d454644
...
@@ -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
...
...
base-boxes/base-winsvr2012/Vagrantfile
View file @
1d454644
# -*- 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_baseB
ox_1_0_0.tar.gz"
config
.
vm
.
box_url
=
"file:///home/cpb113/base-vagrant/psu_winsvr2012_baseb
ox_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
roles/ActiveDirectory/tasks/main.yml
View file @
1d454644
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment