Ansible Server Patching utilizing Ansible Vault

This quick guide shows how to use an Ansible playbook to patch a bunch of servers. This approach still is not fully automated, as it needs user input for the execution and provision of secrets from ansible-vault. Prerequisites Ansible installed: Make sure Ansible is installed on the machine that will run the playbook. If you are on MacOS like me, just use brew install ansible. Vault setup: Install and configure Ansible Vault for handling sensitive data....

March 7, 2025 · 427 words · jop

Routing Traffic Through a VPN Container

My IP was blocked from Growatt’s servers recently, because I started fetching my own data from them. This didn’t make sense to me, but anyways. I can’t change my public IP and it’s only rotated every once in a while. This meant I had to be creative. In this post, we’ll walk through setting up a Proxmox Linux container (CT) to run WireGuard with a Mullvad configuration and then configuring an EdgeRouter X to force specific devices’ traffic through that VPN container....

March 7, 2025 · 656 words · jop

Ansible Vault for Secure Credential Management!

While writing the blog post about homelab server patching with Ansible, I figured there is a need for setup instructions of ansible-vault. So, here’s a quick guide on setting up and using Ansible Vault to secure sensitive data, like become passwords, for use in playbooks. Obviously, Ansible needs to be installed for this. Step 1: Create a vault password file To streamline running the playbook without being prompted for a vault password every time:...

November 4, 2024 · 167 words · jop

Monitor your homelab and get notified by Telegram!

This is a detailed guide on setting up Uptime Kuma using Docker and configuring a Telegram bot to receive notifications when monitored URLs go down or have issues. Setup time: 15 minutes (assuming prerequisites are met) Uptime Kuma is an open-source monitoring tool for tracking uptime and receiving notifications when websites, APIs, or other services go offline. Paired with a Telegram bot, you can receive instant notifications on your phone or desktop....

August 23, 2024 · 677 words · jop