whalecoiner / home

Configuration for my home network/lab/playground.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

At Home With The GitOps

Let me and Bill Murray show you our home GitOps setup.

Media server has rebooted on schedule Home Automation server has rebooted on schedule

  • Configuration as code: true
  • Networking: internal DHCP and DNS via an OPNsense box. WireGuard VPN via Tailscale.
  • Hardware management: all machines controlled via Ansible.
  • Networking: provisioned via Terraform.
  • Container orchestration: Flux and Kubernetes, running on Dell Wyse 5070 thin clients.

I started out writing this as a series of notes but it's growing into a mini-opera composed of weird sentence structures and addressing a constantly switching audience. I shall one day address this issue.

The majority of this repo is configuration code. But in docs there's a lot about the hardware and the reasons for my decisions. View the docs directly in this repo or view the docs via a rendered site.

Installation

# Clone repo
git clone git@github.com:whalecoiner/home.git /opt/ansible/home/

# Bootstrap Ubuntu
/opt/ansible/home/scripts/bootstrap-ubuntu.sh

# Run Ansible
/opt/ansible/ansible-pull-full.sh

🚨 HUMAN EMOTION SECTION - DO NOT CLICK IF YOU DISLIKE FEELINGS 🚨

HUMAN EMOTION: PLEASE LEAVE IF YOU CAN'T COPE

This is all part of a huge learning and emotional experience for me. I spent a lot of 2020 and 2021 in hospital, dealing with a lot of medical shit.

When I got out I decided that some changes were needed to my life. One of those changes was to make a gigantic (and frankly ill-planned) career change from Frontend Development - where I was mostly a manager and therefore spent my majority of time piloting spreadsheets - right over to infrastructure & Platform Engineering as an actual engineer and not a manager.

Part of skilling up in this new role has been doing lots of learning on the side.

This repo is one of those learnings.

(Also I am coming to accept that I'm a massive nerd and that I'm allowed to play with tech shit as a hobby and that I probably have lots of internalised misogyny about a womans relationship to tech).

So if you see mistakes in this repo... well, it's because I'm new at all this. But on the bright side I think I'm coming into this strong and that things will only, as they say, get better. My enormous levels of ADHD (yes really ADHD and no not just being scatty) and me being a junior-grade space cadet means that my brain works well at fitting unrelated concepts and systems together. "Shit at the detail, fantastic at the big picture" is my elevator pitch.

Anyway, enough of that. I'm sure you're hungry for code by now.

UPDATE 1 YEAR LATER: I became a manager again. But it's MUCH better this time. ❤️

About

Configuration for my home network/lab/playground.


Languages

Language:Jinja 51.7%Language:Shell 30.8%Language:HCL 16.5%Language:HTML 0.5%Language:Python 0.3%Language:Smarty 0.2%