For this section, we are going to use Vagrant to launch a Windows 2016 server just like we originally did in Chapter 2, Installing and Running Ansible. Let's start by looking at the Vagrantfile we will be using to launch our host.
Up-and-running
Vagrantfile
This Vagrantfile doesn't look too dissimilar from the ones we have been using to launch Linux hosts:
# -*- mode: ruby -*-
# vi: set ft=ruby :
API_VERSION = "2"
BOX_NAME = "StefanScherer/windows_2016"
COMMUNICATOR = "winrm"
USERNAME = "vagrant"
PASSWORD = "vagrant"
Vagrant.configure(API_VERSION) do |config|
config.vm.define "vagrant-windows-2016"
config.vm.box = BOX_NAME
config.vm.synced_folder...