Blog

Automating Lunavi Cloud with Ansible

Posted on June 11, 2021Tags , , , ,   Leave a comment on Automating Lunavi Cloud with Ansible

I’ve put together a basic ansible play that will create a user in the Lunavi vCloud geo us-mid-01. This post covers the basics of installing and authenticating to the API. It will create an idempotent user name ‘test’ with ‘Organizational Administrator’ privileges. This just covers the basics. I would highly recommend encrypting the passwords via the ansible-vault command. Assumptions Item Value Notes OS Ubuntu 20.04 Any install of Ubuntu 20.04 (or any modern linux should suffice) Python Python 3.8 Python … Continue reading “Automating Lunavi Cloud with Ansible”

Bash Shortcuts and Customization Cheatsheet

Posted on June 11, 2021Tags , , ,   Leave a comment on Bash Shortcuts and Customization Cheatsheet

06-11-2021 The tables below list keyboard combinations and other customization to bash that I use on a regular basis. This is not an inclusive list. The man pages will have far more detail on what you can and can’t do. Keyboard Combination Description Notes CTRL-A Move to beginning of line CTRL-B Move backward on character CTRL-C Kill Command See CTRL-Z CTRL-D Logout/backward one character see exit CTRL-E Move to the end of the line CTRL-F Move forward one character CTRL-G … Continue reading “Bash Shortcuts and Customization Cheatsheet”

microk8s kubectl / docker mapping cheat sheet

Posted on June 11, 2021Tags , , ,   Leave a comment on microk8s kubectl / docker mapping cheat sheet

6/22/2021 Docker Command microk8s Command Notes docker ps -a microk8s kubectl get pods docker attach b55f695d4c06 microk8s kubectl attach -it b55f695d4c06 docker logs -f b55f695d4c06 microk8s kubectl logs -f mycontainer docker stop b55f695d4c06 &&docker rm b55f695d4c06 microk8s kubectl delete deployment mycontainer must delete the deployment before the pod. otherwise pod is recreated docker run -d –restart=always -e DOMAIN=mycluster –name mycontainer -p 443:443 mycontainer microk8s kubectl create deployment –image=mycontainer mycontainer docker exec b55f695d4c06 cat /etc/hosts microk8s kubectl exec b55f695d4c06 — cat … Continue reading “microk8s kubectl / docker mapping cheat sheet”

Install AWX 19.2.0 on Ubuntu 20.04

Posted on June 10, 2021June 11, 2021Tags , , , , ,   Leave a comment on Install AWX 19.2.0 on Ubuntu 20.04

Created: 6/10/2021 I’ve been pretty frustrated that the AWX community moved to Kubernetes deployments. I wanted to try to find the simplest solution to get this up and running. I can’t vouch for the security of this setup yet. It is a work in progress, and I will update it as I learn more. Running containers for years, I find Kubernetes very interesting. However, I’m stepping into this very slowly and carefully. I chose to configure the PostgreSQL database as … Continue reading “Install AWX 19.2.0 on Ubuntu 20.04”

ADFS & AWS Relaystate

Posted on December 13, 2020December 13, 2020Tags , , , , , 2 Comments on ADFS & AWS Relaystate

Announcing the new ADFS 4.0 Appstream 2.0 Relaystate Generator TL;DR. Use the new ADFS / Appstream 2.0 Relaystate Generator here: https://www.unbuffered.net/static/misc/adfs-aws-relaystate-generator.html What is this all about? After weeks of troubleshooting various problems trying to get ADFS 4.0 and AWS Govcloud to work together, I finally came up with a repeatable solution! One of the first issues I ran into was trying to find all of the right URL’s for Govcloud. Then getting it to URL Encode correctly was a bit … Continue reading “ADFS & AWS Relaystate”