Skip to content

travellingtechie/Lab-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab Automation

A collection of scripts that I use for Lab Builds

This is an active work in progress, it is not yet ready for primetime

Prerequisites

Manual Installation

I currently run everything inside of a python venv (mostly in Pycharm) This is the configuration I use:

# if not using Pycharm
apt install python3.8-venv
python3 -m venv venv --prompt="Lab Automation"
pip install --upgrade pip
pip install ansible pyvmomi
pip install --upgrade setuptools==62.0.0
pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git

Requirements file

I'm trying to use requirements files, however this is not yet working in all environments:

Install Python and Create Virtual Environment

pip install --upgrade pip
mkdir projects/ansible
apt install python3.8-venv
python3 -m venv venv --prompt="ansible"
pip install -r requirements.txt

Ansible Collections

Install Ansible collections

cd ansible/collections
ansible-galaxy install -r requirements.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published