Weekly Links 11/12-11/18: Ansible, Kubernetes, and DevOps

Running a little late today, I was at a friendsgiving yesterday and we decided to go bowling in the evening.. Lots happened this past week though! Cloudflare released their SSH VPN alternative. This also discusses some of the pain points they have with using VPN. Unfortunately it relies on their “ArgoTunnel” service, which look an awful lot like a VPN.. Ansible released version 2.7.2, mostly bug fixes, some other fixes to how Ansible interacts with VMWare which I’ll probably test out. Also, Ansible Galaxy moved the community features they’ve been discussing to prod. This key lime pie protein shake is delicious, and not all terrible for you. Sorry, random. Red Hat released the RHEL 8 beta, it’ll be a pretty big release for them, I’m looking forward to trying it out! HomelabOS is a pretty slick way of spinning up some home media apps with Ansible. I really like the idea of this! I’ve been playing with Openshift more lately, this runs through how to build a docker image for a Python app. I finally deployed a small kubernetes cluster with kubespray. It was a pretty big Ansible playbook, but things seem to work fine. My run was interrupted a couple times, and it picked up right where it left off. Anyway, i’ll be checking this out next “Kuberenetes 202” More projects for Kubernetes and OpenShift, this runs through how to put Gitea on kubernetes. Gitea is a pretty slick, light GitHub alternative. Jeff Geerling did an excellent run through of “DevOps” general principals and some examples from his life and experience. Also be sure to check out my refresher post on Ansible “when” statements. All this snow means more time in the lab, enjoy the upcoming holidays!

November 19, 2018

Using subelements in Ansible to loop through multiple lists.

While working on my Ansible Galaxy users role I came across a situation where I needed to loop through a list inside a dictionary inside a list. For this specific case I had a list of users, and each user could have multiple authorized sshkeys stored in a “pubkeys” value. To add each sshkey I used subelements in Ansible to loop through multiple lists. Here’s an example variable. Note that there are two users, one user has two public keys, and the other has one: ...

November 3, 2018

Weekly Links 10/22-10/28: Ansible, Kubernetes, iPhone XR

I had all kinds of ceph osd issues in my lab this week. Spend most of that identifying bad/failing hardware. It seems to be more stable now so I can get back to testing! Links for this week: A list of available online tech classes from Universities. Ouroboros keeps popping up in my feeds, it uses python to update your running docker containers. I can never call out linuxserver.io enough, they have some really solid docker images and may deploying new apps to my Homelab a breeze! Ansible 2.7.1 was released, looks like a lot of bug fixes, also changed some things with the yum modules, specifically how it handles lists (threw off one of my playbooks when i upgraded to 2.7). A guide to running AWX (Ansible Tower upstream) on MiniShift. Which leads into the next link.. I was referencing this guide to using Kubespray for a mini lab project (AWX runs on Kubernetes too). Jeff Geerling wrote up a quick article about using Molecule for Ansible role testing. It even has some tidbits about using TravisCI. I referenced this when adding testing to my package role to get that cool “build passing” badge on GitHub. Just need to hit the others now. All the Ansible testing focus lately is coming from the updates about to roll out on Ansible Galaxy, they’re previewing the new features now. Hashicorp released some documentation on secrets management, it’s very clean and well put together. Dell recently released a new version of OpenManage Enterprise, it’s a pretty convenient way for me to manage the dell hardware in my home lab (firmware, logs, console). I recently for an iPhone XR for work and took some pictures with it, they look pretty great! I’m gonna go back to tinkering with this new iPhone, have a safe and fun Halloween!

October 28, 2018