Browse by topic: ansible 64 · apache 1 · artifactory 1 · claude-code 2 · cloud-init 1 · containers 1 · devops 2 · git 7 · github-pages 4 · gitlab-ci 2 · gitops 1 · http 1 · kubernetes 18 · linux 7 · nixos 8 · oauth2 1 · package-managers 2 · packer 2 · podman 8 · proxmox 6 · python 3 · renovate 1 · seo 5 · ssh 2 · terraform 6 · tls 5 · vscode 1 · windows 8
Recent TILs
containers Docker Swarm and Kubernetes side by side: the same concepts, two vocabularies - 2026-11-19
A cheat sheet for someone who knows one of the two and keeps asking "what is the equivalent of X?". One row per concept, Docker Swarm in one column and Kubernetes in the other, grouped by theme: cluster and nodes, workloads, declaring things in files, networking, configuration…
linux Loadable modules for a custom WSL2 kernel: a `modules.vhdx` and one `.wslconfig` line - 2026-11-10
A custom WSL2 kernel built as in Building a custom WSL2 kernel on GitHub Actions boots fine, but every feature its config marks =m is missing. modprobe wireguard answers Module wireguard not found in directory /lib/modules/6.18.54.1-wsl2-x86_64-v3+. Microsoft's config-wsl has…
kubernetes Installing kube-prometheus on RKE2, one step at a time - 2026-11-08
kube-prometheus is a set of Kubernetes manifests for a complete monitoring stack: Prometheus, Alertmanager, the exporters that feed them, and the alert rules that go with them. Its README installs it with two kubectl apply commands, and the homelab wraps those in a script. This…
kubernetes Kustomize overlays: trimming an upstream release without editing it - 2026-11-08
The kube-prometheus entry installs a release of 131 objects as 62: no Grafana, no prometheus-adapter, one Prometheus instead of two. None of the release's files were edited. The changes are a Kustomize overlay, one file next to the unpacked release, and this entry goes through…
kubernetes How the lablabs.rke2 Ansible role upgrades an RKE2 cluster, node by node - 2026-11-08
Sixteenth entry in the RKE2/Kubernetes series. It comes from upgrading the series' Proxmox cluster (one server, two agents) from v1.30.6 to v1.37.2 on 2026-11-08, one minor version at a time. The cluster is installed by lablabs.rke2, an Ansible role: a packaged set of tasks,…
renovate Adding Renovate to a GitHub project: the hosted app, and the versions it can't see - 2026-11-08
Renovate is a bot that reads a repository, finds every dependency whose version is written down, looks up newer releases and opens one pull request per update. It's open source, and Mend maintains it and runs a free hosted version. Getting it onto a project takes two steps:…
package-managers apt, dnf and pacman side by side: one cheat sheet for Ubuntu 26.04, Fedora 45 and Arch - 2026-11-08
Second entry in the Portable environments series. The first entry keeps the distribution's own layer as small as possible. That small layer still has to be installed, upgraded and listed, with a different tool on each distribution. This entry puts the three tools in one table,…
package-managers The package manager map: one portable environment for WSL2 and VMs, from apt to OCI images - 2026-11-08
First entry in the Portable environments series. apt works on Ubuntu, dnf on Fedora, pacman on Arch, and each one stops at its distribution's border. Moving between them, or between a WSL2 distribution at work and a virtual machine at home, usually means rebuilding a setup by…
claude-code Docker Hub said 429: pulling base images from the distributions' own registries and a Docker Hub mirror, then trusting the proxy inside the containers - 2026-11-08
While testing the apt, dnf and pacman cheat sheet in a Claude Code cloud session, the very first docker pull failed. Getting three distribution images took four registries and one daemon setting. Then the containers couldn't download packages over HTTPS, and fixing that took a…
git `git config user.email` isn't the identity Git commits with: check `git var` - 2026-11-08
In a cloud coding session, git config user.email printed noreply@anthropic.com, yet commits came out as abdelhousni <23284113+abdelhousni@users.noreply.github.com>. Both were right about different things. git config only reads configuration files; the environment…
ansible
- Starting an Ansible role project with uv for the venv - 2026-09-05
- The Foreman/Satellite dynamic inventory plugin - 2026-09-05
- Targeting hosts with patterns, --limit and constructed groups - 2026-09-05
- Storing an Ansible Galaxy token as an environment variable, not in ansible.cfg - 2026-09-05
- git tag basics, grounded in how Ansible collection releases actually use them - 2026-09-12
- Deploying a Podman Quadlet stack on RHEL9 with linux-system-roles - 2026-09-16
- Ansible Vault encrypts the secret in git; Podman's default driver stores it in plaintext - 2026-09-20
- What Ansible Vault actually encrypts, and where that protection stops - 2026-09-24
- Handling deployment failures with Ansible's block/rescue/always - 2026-09-29
- Locking an Ansible development environment: pip, venv, pip-tools, uv or an execution environment - 2026-09-29
- Pinning ansible-core with pip-tools, uv and Poetry - 2026-09-29
- Building an Ansible execution environment from a locked requirements file - 2026-09-29
- Where to run an Ansible development environment: venv, Dev Container, Remote-SSH, code-server or Dev Spaces - 2026-09-29
- Ansible Development Tools (ADT): one install, and the Python version decides what you get - 2026-09-29
- Committing the VS Code Ansible settings with the repository - 2026-09-29
- Running playbooks locally in the execution environment production uses - 2026-09-30
- An Ansible Dev Container: choosing the scaffolded config, Podman, and the EE navigator falls back to - 2026-09-30
- A shared Ansible dev server for VS Code Remote-SSH, built with Ansible - 2026-09-30
- Linting Ansible before it reaches Git: `--fix` in the editor, the same ansible-lint in CI - 2026-09-30
- Scaffolding with ansible-creator: roles inside a collection, and what to change in the output - 2026-09-30
- A collection-aware venv with ansible-dev-environment (ade): what it installs, what it edits, and how to pin it - 2026-09-30
- One sudoers line per command with community.general.dict_kv: building a list of dicts from a list of values - 2026-10-01
- Lists and dicts back and forth: dict2items, items2dict and zip on role, Foreman and Proxmox data - 2026-10-01
- Merging dicts with combine: PostgreSQL settings in layers, Quadlet units from a base - 2026-10-01
- Picking from a list of dicts: selectattr, rejectattr and map on Proxmox guests and host facts - 2026-10-02
- subelements versus product: Quadlet volume directories and PostgreSQL pg_hba rules - 2026-10-02
- Set operations on lists: declared Proxmox guests against the cluster, and why the order changes between runs - 2026-10-02
- Strings into structures: df with split and regex_findall, findmnt with from_json - 2026-10-02
- default, default(omit), mandatory and ternary: sudo rules that don't set every field - 2026-10-02
- Forcing types: extra vars arrive as strings, and ansible-core 2.19 stopped guessing - 2026-10-02
- Writing data out: a Caddy JSON configuration with to_nice_json, sort_keys and indent - 2026-10-03
- Data from other hosts: pg_hba rules from the app servers' facts, with hostvars and extract - 2026-10-03
- groupby, groupby_as_dict and lists_mergeby: Proxmox guests by node, and joined to what the team declares - 2026-10-03
- json_query or native filters: part 4's Proxmox selections written in JMESPath - 2026-10-03
- Network data with ansible.utils: checking pg_hba subnets and numbering Proxmox guests - 2026-10-03
- set_fact in a loop or one expression: part 11's pg_hba rules, built both ways - 2026-10-03
- Text on lists: building a systemd ExecStart line with regex_replace, join and replace - 2026-10-03
- Hosts and groups: the two groups every inventory has, all and ungrouped - 2026-10-03
- An inventory as a directory: a hosts file without variables, and group_vars per role - 2026-10-03
- INI or YAML for the hosts file, and why variables stay out of both - 2026-10-03
- Connection variables: ansible_host, ansible_port, ansible_user and ansible_connection, with ssh, docker and local - 2026-10-03
- Environments in an Ansible inventory: separate directories, or prod and staging as groups - 2026-10-03
- Checking what Ansible sees: ansible-inventory --graph, --list and --host - 2026-10-03
- Facts or variables: what Ansible discovers (as-is) against what you declare (to-be) - 2026-10-03
- Where a variable should live: role defaults, group_vars, host_vars, and extra vars as safety switches - 2026-10-03
- Inventory precedence: all, parent, child, host, and what ansible_group_priority really does - 2026-10-03
- Secrets in the inventory: vault.yml next to vars.yml, with plaintext aliases - 2026-10-03
- --limit in practice: every play, run_once per batch, and the facts of hosts left out - 2026-10-03
- Let the inventory be the loop: delegate_to instead of a list of hosts - 2026-10-03
- Several inventories at once: -i dir/, load order, and which source wins - 2026-10-03
- A single source of truth: inventory plugins, enable_plugins and auto - 2026-10-03
- The Proxmox inventory plugin: guests as hosts, filtered by tag and status - 2026-10-03
- ansible.builtin.constructed: keyed_groups, groups and compose on top of another source - 2026-10-03
- When the inventory cache lies: stale hosts, cache_timeout and --flush-cache - 2026-10-03
- The inventory cache and performance: request counts, want_facts and timeouts - 2026-10-03
- add_host: provision then configure in one run - 2026-10-03
- group_by: groups from facts, built during the run - 2026-10-03
- Writing an inventory plugin, after the trust order - 2026-10-03
- Inventory in AAP: sources from a project, smart and constructed inventories - 2026-10-03
- Testing the inventory in CI, with a JSON Schema and policy checks - 2026-10-03
- Local facts in facts.d: declared data that looks measured - 2026-10-04
- A playbook hangs at fact gathering or `service_facts`: find the blocking call, then bound it - 2026-10-17
- Control node, runner, controller: who runs your Ansible, and how Tower became AWX and AAP - 2026-10-22
- Ansible controllers in 2026: AWX paused, AAP, Semaphore UI, or plain CI - 2026-10-22
github-pages
- Publishing a TIL collection as a static GitHub Pages site - 2026-09-05
- Adding an Atom feed and syntax highlighting to a static site build script - 2026-09-05
- Rendering Mermaid diagrams in a Python-Markdown static site - 2026-09-12
- Hosting my own copy of Datasette Lite from a fork - 2026-10-08
gitlab-ci
- A simple GitLab CI pipeline for ansible-lint on a custom Python image - 2026-09-05
- Building GitLab CI images on a flaky network - 2026-10-25
http
podman
- Hosting a simple PHP page with Podman + Caddy, with automatic HTTPS - 2026-09-05
- Moving a container image between hosts with podman save + scp + load, no registry - 2026-09-05
- Sanity-checking a fresh Docker or Podman install with each engine's own hello-world - 2026-09-06
- Podman equivalents to Docker's Dive image-layer explorer - 2026-09-12
- Root vs rootless Podman on RHEL 10 and Ubuntu 26.04 - 2026-09-13
- Auto-updating the Caddy/Adminer/PHP Quadlet stack needs more than one AutoUpdate key - 2026-09-21
- Pointing Podman at an Artifactory mirror without editing a single image name - 2026-09-21
- `podman compose` fails because it handed the job to docker-compose, which needs the Podman socket - 2026-10-09
proxmox
- Installing a RIPE Atlas software probe in a Proxmox LXC - 2026-09-05
- A libvirt RHEL Kickstart example ported to Proxmox, minus the one flag with no equivalent - 2026-09-20
- Debugging a Proxmox VM whose cloud-init config didn't apply - 2026-09-20
- A Proxmox VM on demand, NixOS from Git: OpenTofu builds a skeleton, nixos-anywhere replaces it, and the host key exists before the VM - 2026-09-27
- ntfy in a Proxmox LXC, private and behind Caddy for TLS - 2026-10-08
- Injecting qemu-guest-agent into Debian, Ubuntu, RHEL-family and openSUSE cloud templates, from the CLI - 2026-10-28
python
- A regex link checker breaks on the exact HTML it was meant to check - 2026-09-05
- Getting a newer Python on RHEL without touching the system python3 - 2026-09-29
- Controlling which Python uv uses - 2026-10-26
seo
- Don't hand-write a sitemap.xml, generate it from data you already have - 2026-09-05
- robots.txt for a small static site is basically a pointer to the sitemap - 2026-09-05
- A schema.org Person block is what actually helps you rank for your own name - 2026-09-05
- Verifying a GitHub Pages site with Bing Webmaster Tools (no DNS needed) - 2026-09-05
- A "read in French" link on a static site: Google's translation proxy, the reader's language, and what it does to SEO and accessibility - 2026-11-02
tls
- Checking a TLS certificate's dates, issuer, and SANs with openssl - 2026-09-05
- Splitting a .pfx into a certificate, key, and CA chain with openssl - 2026-09-05
- Adding a certificate to a Java keystore/truststore with keytool - 2026-09-05
- A Let's Encrypt certificate for a LAN-only service: Caddy, DNS-01 and deSEC - 2026-10-08
- A wildcard certificate for a private Kubernetes cluster: cert-manager, DNS-01 and deSEC - 2026-11-01
cloud-init
- Layering extra cloud-init config without fighting Terraform/OpenTofu's auto-generated user-data - 2026-09-07
git
- Installing git, gh, and glab, and the auth each one actually needs - 2026-09-12
- Syncing a diverged fork: take the pipeline fixes, not the content - 2026-09-27
- Configuring a repository for coding agents: what the guidance actually says - 2026-09-27
- A branch you fetched was force-pushed: keep the old tip, then `rebase --onto` - 2026-09-27
- Deleting merged branches: GitHub's auto-delete, GitLab's equivalent, and the local clone - 2026-10-28
- Conventional Commits: commit messages that tools can read - 2026-11-08
- `git config user.email` isn't the identity Git commits with: check `git var` - 2026-11-08
oauth2
- GitLab with OAuth 2.0 / OIDC — the simple principle - 2026-09-12
kubernetes
- What Kubernetes actually is, and how it works - 2026-09-17
- Cleanly stopping an RKE2 node for planned maintenance - 2026-09-17
- Installing a single-node RKE2 server for a lab - 2026-09-18
- Getting kubectl to work against RKE2 from off the node - 2026-09-18
- What RKE2 actually is, and how its pieces fit together - 2026-09-18
- Pods, Deployments, Services — the minimum object model - 2026-09-18
- RKE2's default CNI is Canal, and you pick it before the first start - 2026-09-18
- RKE2 ships no default StorageClass, and a PVC will sit Pending forever - 2026-09-18
- RKE2's ingress default moved to Traefik, because ingress-nginx is ending - 2026-09-18
- Going HA with RKE2: three servers, one address, and the datastore choice - 2026-09-18
- RKE2's etcd snapshots run on schedule, but a fresh cluster starts with none - 2026-09-19
- Restoring RKE2 etcd across an HA cluster, and backing snapshots up to S3 - 2026-09-20
- RKE2 leaves its servers schedulable, so your workloads have been running on the control plane all along - 2026-09-20
- A namespace on its own protects nothing: quotas, limit ranges, network policies and Pod Security do - 2026-10-24
- A liveness probe restarts a container, a readiness probe only takes it out of the Service - 2026-10-25
- How the lablabs.rke2 Ansible role upgrades an RKE2 cluster, node by node - 2026-11-08
- Installing kube-prometheus on RKE2, one step at a time - 2026-11-08
- Kustomize overlays: trimming an upstream release without editing it - 2026-11-08
packer
- What Packer actually is, and how it works - 2026-09-17
- Kickstart, cloud-init and Image Builder are three layers, not three choices - 2026-09-20
ssh
- Useful ~/.ssh/config patterns for IaC-provisioned hosts - 2026-09-17
- Reuse one ssh-agent across shells with keychain - 2026-10-28
terraform
- What Terraform/OpenTofu actually is, and how it works - 2026-09-17
- What Terraform/OpenTofu, Nomad, and Packer are, and how they relate - 2026-09-17
- Terraform state locking just dropped its DynamoDB requirement - 2026-09-23
- What Terraform, OpenTofu, and Packer promise about secrets, and where each promise stops - 2026-09-29
- OpenTofu in a GitLab pipeline: GitLab-managed state and the OpenTofu CI/CD component - 2026-10-23
- What a root module is in Terraform/OpenTofu, and why the state belongs to it - 2026-11-08
apache
linux
- What cgroups v2 actually is, and how Podman and Kubernetes use it - 2026-09-18
- Building a custom WSL2 kernel on GitHub Actions: `KCFLAGS`, not `CFLAGS` - 2026-09-28
- Checking new firewall rules with nc and Python: open, refused, or dropped - 2026-09-29
- Sudo rules that hand out a root shell, and a CI check that refuses them - 2026-10-01
- Changing when logrotate runs: the systemd timer, from the command line and with Ansible - 2026-10-15
- AppImage: "error loading libfuse.so.2" on recent Ubuntu - 2026-11-01
- Loadable modules for a custom WSL2 kernel: a `modules.vhdx` and one `.wslconfig` line - 2026-11-10
windows
- Finding and force-closing a locked file on a Windows SMB share - 2026-09-18
- RDP into Windows 11 with a Microsoft account: the password, not the PIN, and `MicrosoftAccount\` - 2026-09-28
- Oh My Posh in PowerShell and in WSL2 zsh, with one config file - 2026-09-28
- Installing PowerShell 7 on Windows, Debian, Ubuntu and RHEL, the way Microsoft documents it - 2026-09-29
- Running Linux containers on Windows with wslc, the container CLI built into WSL - 2026-10-06
- A lightweight graphical file manager in WSLg: Thunar on Ubuntu, RHEL 9 and NixOS - 2026-10-15
- `.wslconfig` vs `wsl.conf`: which file sets what in WSL - 2026-11-01
- WSLg: "Missing X server or $DISPLAY" when a Linux GUI app won't open - 2026-11-01
vscode
nixos
- First steps on NixOS: the whole system is one file, and every change is a boot entry - 2026-09-25
- NixOS on WSL2: a short admin runbook, and the files WSL manages instead of NixOS - 2026-09-25
- Oh My Zsh on NixOS: the plugin list installs nothing, and NixOS aliases win - 2026-09-26
- Testing a NixOS configuration on GitHub Actions: evaluate on every push, boot it where KVM is - 2026-09-26
- Testing a NixOS configuration on self-managed GitLab CE: the eval job runs anywhere, the VM test needs a runner you prepare - 2026-09-26
- Home Manager as a NixOS module: dotfiles in the same rebuild, and the file that's in the way - 2026-09-27
- A user's PATH on NixOS: declare packages, and know which settings reach services - 2026-09-28
- A minimal IaC toolbox on WSL2 with standalone Home Manager: Nix owns Python and OpenTofu, uv owns Ansible - 2026-10-08
claude-code
- Starting with Jev in Claude Code: a plugin that adds a skill, and an API key for experiments - 2026-09-29
- Docker Hub said 429: pulling base images from the distributions' own registries and a Docker Hub mirror, then trusting the proxy inside the containers - 2026-11-08
artifactory
gitops
- GitOps with tools that push: Ansible and OpenTofu against the four OpenGitOps principles - 2026-10-22
devops
- DevOps and DevSecOps terminology: DORA metrics, CI/CD for Ansible, feature branches and GitOps - 2026-10-24
- PDCA, the Deming cycle, as a DevSecOps service design process - 2026-11-02
package-managers
- The package manager map: one portable environment for WSL2 and VMs, from apt to OCI images - 2026-11-08
- apt, dnf and pacman side by side: one cheat sheet for Ubuntu 26.04, Fedora 45 and Arch - 2026-11-08