Archive of posts from May 2023
-
Virtual pfsense HA cluster deployed on KVM
my homelab setup has changed recently and as part of this i wanted to setup virtual firewalls. this was to keep the number of always on hardware low and i was sure the resource cost would be low for the kvms on my 2 current physical servers. -
Solution: Changing yaml files in ansible git repo with python
i wanted tooling to make changes to an ansible git repository but found this not as straightforward as i had hoped. this solution takes care of the annoying problem of loading yaml and python writing it back out of its original order and so making the git commits hard to... -
SysAdmins shell one liners
useful system administrator one liners for investigation of events -
Building docker images with ansible
process to build docker image from ansible playbook. this involves creating a base image with ansible installed. with this we add the ansible repo and then configure the host with ansible playbook and tag it. -
Adding swap files in times of need
adding swap files to linux host during memory pressure events -
deploying nextcloud with docker-compose
docker compose project to deploy nextcloud on raspberry pi3 -
setting ansible facts from json
ansible tasks to record json output and set some value to an ansible fact. -
Jekyll starter cheat sheets
information on jekyll and static site generators.