Ansible

Useful environment variables: export ANSIBLE_DIFF_ALWAYS=true export ANSIBLE_GATHER_SUBSET='all,!ohai,!hardware' export ANSIBLE_LOG_PATH=~/Projects/ansible.log export ANSIBLE_RETRY_FILES_ENABLED=false export ANSIBLE_STDOUT_CALLBACK=yaml export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/vault Related links: Ansible Configuration Settings …

Golang

I love shiny new things (or is it bleeding edge features?). Modules Update dependencies: GO111MODULE=on go get -u Add missing and remove unused modules: go mod tidy Build: GO111MODULE=on go build Routers Links: Go HTTP request router and web framework benchmark; Go Gin Benchmarks comparison; 7 popular web frameworks in…

Envoy

Some people compare the envoy-proxy with Nginx. The free version of Nginx is a great web-server (caching and ability to serve static files) but poor balancer (no health-checks, lack of balancing algorithms a close to none metrics). Envoy unable to serve static and has no cache. But envoy is a…

Elastic

Useful links: How to resolve unassigned shards in Elasticsearch Elasticsearch failed shard recovery Creating an Elasticsearch Cluster: Getting Started Open Distro for Elasticsearch Kickstart guide Troubleshooting When shard failed to allocate: GET _cluster/allocation/explain ... shard has exceeded the maximum number of retries ... POST _cluster/reroute?retry_failed=true Tools ElasticHQ Cerebro Elasticsearch stats…

OpenVPN

Useful links: Revoke/Unrevoke a client certificate in OpenVPN ovpnCNcheck — an OpenVPN tls-verify script #!/usr/bin/env python ''' ovpnCNcheck -- an OpenVPN tls-verify script """"""""""""""""""""""""""""""""""""""""""" This script checks if the peer is in the allowed user list by checking the CN (common name) of the X509 certificate against a provided text…