Skip to content

Create lab environments using Vagrant, Packer and Ansible.

Notifications You must be signed in to change notification settings

datacore-jpatel/lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab Environments

Create lab environments using Vagrant, Packer and Ansible.

Installation

To get started run the following from an elevated command prompt in a suitable folder:

curl -LJ -o .\install.bat https://raw.githubusercontent.com/nconnolly1/lab/main/scripts/install.bat
.\install.bat

The code can them be extracted with:

git clone https://github.com/nconnolly1/lab
cd lab

Install Ansible

Ansible is not officially supported on Windows. It can be run under Cygwin, but according to the Ansible website this is not recommended for production use.

Ansible is supported on the Windows Subsystem for Linux (WSL 1) which can be setup from an elevated PowerShell prompt on Windows Server using:

.\scripts\install\install-wsl-server.ps1
wsl bash -c ./scripts/install/install-ansible.sh

If WSL is not available, Ansible can be install under Cygwin from an elevated command prompt with:

.\install\install-cygwin.bat

Environment

So setup the environment in order to be able to run Vagrant or Packer, run:

.\env.bat

Notes

Kubernetes Cluster

The Kubernetes Cluster is based on the instructions in a Kubernetes Blog post.

Ansible for Windows

Installation is based on the blog Quick Ansible Setup

About

Create lab environments using Vagrant, Packer and Ansible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published