Skip to content

Instantly share code, notes, and snippets.

@dpacuszka
dpacuszka / lb_org_vcs_initial_setup.ps1
Last active September 23, 2021 11:38
Initial setup of the Loadbalancer.org appliance using vSphere API and PowerShell
# Environment variables specified below are neccessary for govc
# to work. Should you want o use govc outside this script they
# must be sourced in your Bash config.
# vSphere Host URL
$env:GOVC_URL=""
# Your vSphere credentials
$env:GOVC_USERNAME=""
$env:GOVC_PASSWORD=""
@dpacuszka
dpacuszka / lb_org_vcs_initial_setup.yaml
Created September 22, 2021 10:31
Initial setup of the Loadbalancer.org appliance using vSphere API and Ansible
---
- name: Initial setup of the Loadbalancer.org appliance
hosts: localhost
connection: local
gather_facts: false
vars:
# Variables below are needed by the VMWare module
vcenter_hostname:
vcenter_username:
vcenter_password: