Skip to content

Instantly share code, notes, and snippets.

Tim Bielawa tbielawa

Block or report user

Report or block tbielawa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Edit your network and add your domain (<domain name='' localOnly='yes'/>) to the network definition. All of your hosts using this network must have hostnames (hostnamectl set-hostname) within the domain.

sudo virsh net-edit default

OpenShift Named Certificates

This is a short guide explaining how to deploy and manage custom certificates via openshift-ansible. These custom certificates will be served for public facing UI/API.

1. Set up

NOTE: I'm running ansible from the first master so I'm creating the certificates in /root/ on my first master. The certificates will be copied to the masters (within /etc/origin/master/named_certificates/) by ansible. I could create them on my local system and run ansible from my local system instead.

1.1 Create CA Certificate

View ansible_role_graph
#!/usr/bin/env python
import click
from glob import glob
import graphviz as gv
import os
import sys
import yaml
''' Generate a directed graph of ansible role dependencies.
santa4nt /
Last active Jan 29, 2020
A Python-ctypes script to dispatch IOCTL in Windows
# The MIT License (MIT)
# Copyright © 2014-2016 Santoso Wijaya <>
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge,
# publish, distribute, sub-license, and/or sell copies of the Software,
aculich /
Created Nov 28, 2011
SSHForwarder class for use with the python ssh module:
#!/usr/bin/env python
# This code is licensed according to the main package that it depends on:
# License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
import sys, os, os.path
import select
import SocketServer
You can’t perform that action at this time.