Skip to content

Instantly share code, notes, and snippets.

View westsouthnight's full-sized avatar
AWS DevOps Technical Architect

Rostislav Grigoryev westsouthnight

AWS DevOps Technical Architect
View GitHub Profile
git clone -b vmw-3.5
cd openshift-ansible-contrib/reference-architecture/vmware-ansible/
cp -f ~/07-26/ocp-on-vmware.ini .
cp -f ~/07-26/vmware_inventory.ini inventory/vsphere/vms/vmware_inventory.ini
./ --clean
./ --create_inventory
./ --create_ocp_vars
westsouthnight / ansible-vmware-module-vcd-vapp-vm-nic.log
Last active July 26, 2020 19:54
vcd vm vcloud director pyvcloud api primary_index first nic
"module_stderr": "Traceback (most recent call last):
File \"/var/folders/1r/mmlrhl4j7xz4zzly987_8yq00000gp/T/ansible_vcd_vapp_vm_nic_validate_payload_mkmk53qf/\", line 390, in read_nics
File \"/usr/local/lib/python3.8/site-packages/pyvcloud/vcd/\", line 535, in list_nics
for nc in self.resource.NetworkConnectionSection.NetworkConnection:
File \"src/lxml/objectify.pyx\", line 231, in lxml.objectify.ObjectifiedElement.__getattr__
File \"src/lxml/objectify.pyx\", line 450, in lxml.objectify._lookupChildOrRaise
AttributeError: no such child: {}NetworkConnection
During handling of the above exception, another exception occurred:
westsouthnight /
Created June 19, 2018 17:33
Ansible Lookup plugin, for generating the random mac_address on fly.
from __future__ import (absolute_import, division, print_function)
from ansible.plugins.lookup import LookupBase
from ansible.errors import AnsibleLookupError
from subprocess import Popen, PIPE
import json
import errno
import random
__metaclass__ = type
westsouthnight / kibana.png
Last active May 26, 2017 11:22
Kibana info
Kibana info
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">