Skip to content

Instantly share code, notes, and snippets.

vandot / k3sup_ha.yml
Last active Nov 4, 2020
ansible-playbook k3sup_ha.yml
View k3sup_ha.yml
- hosts: localhost
gather_facts: true
connection: local
- role: vandot.k3sup.k3sup
- name: Create ssh key
oauth_token: "{{ oauth_token }}"
View k3sup_parallel.yml
- hosts: localhost
gather_facts: false
connection: local
- name: Create ssh key
oauth_token: "{{ oauth_token }}"
name: mykey
ssh_pub_key: "{{ lookup('file', '~/.ssh/') }}"
View network-partition.yaml
kind: NetworkChaos
name: network-partition-example
namespace: vandot
action: partition
mode: one
duration: "59s"
vandot / whois_server_list.txt
Last active Oct 5, 2018
List of whois servers with note about is expiration date provided per domain
View whois_server_list.txt
domain whois_server test_domain expiration_field
ac true
ad [none]
ae true
aero true
af true
ag true
ai true
al [web-only] false
am false

Keybase proof

I hereby claim:

  • I am vandot on github.
  • I am vandot ( on keybase.
  • I have a public key ASA1JvSlCSblxj1H5KYUwq9X5Civ-fMnUTCfCxHsUQlm3Ao

To claim this, I am signing this object:

vandot /
Created May 13, 2017
You have to many dynamic instances? Resolves all key issues and connects to instance the moment is up.
#!/usr/bin/env bash
declare -x USER=""
declare -x HOST=""
declare -x KEY1=""
declare -x KEY2=""
retry_scan() {
while true; do
KEY1=$(ssh-keyscan -t ecdsa "${1}")
vandot / _curl_api
Created Oct 14, 2016
Bash completion script for curl for exploring internal instance ( API on AWS and GCP
View _curl_api
# curl metadata api explorer -*- shell-script -*-
# you can copy paste it inside ~/.bash_completion
local cur prev word cword
_init_completion -n : || return
case "$cur" in
vandot /
Created Mar 16, 2016
Fetch geoip data and create Bind9 ACL based on continents for poor man's GSLB service
#!/usr/bin/env python
import csv
import urllib
import zipfile
import os
link = ''
csv1 = 'GeoLite2-Country-Blocks-IPv4.csv'
csv2 = 'GeoLite2-Country-Locations-en.csv'