Milestone 9 Blue1.local - 5huckle/OFFICIALTECHJOURNAL GitHub Wiki

Intro

Goals:

  • Use 480Utils to spin up a new 2019-server (Linked Clone from your 2019 Server Base) which will be a Domain Controller for the BLUE network (dc-blue1)
  • Create a new 480Utils Function to set a static IP configuration on the new Windows VM (dc-blue1)

Step one

Using 480-utils, use the vm-cloner function to create a copy of server.2019.gui.base, set the network, and start the machine. Name it dc-blue1

image

I had to manually add a network adapter to dc-blue1 and change it to 480-WAN

Create a new function in 480-utils that can set a static IP for Windows using Invoke-VMscript powercli function

I had to use dhcp for this as I could not successfully get my setip function to change the IP of my win box. However changing the adapters around did.


Step two: Ansible

I have the code linked here within the inventory and yml folders.

image

image

My code did fail when it came to actually setting the forest the first time, I attempted to fix it and adjust the code so that it would work however it was unsuccessful. I still linked my unsuccessful code in my playbook highlighted as non functional. It did take about 10 minutes to run each time, not 100% sure why however considering my time restraint for turning this in, I was not able to try it time and time again.