The logrotate config added with the Sophie overhaul claimed to bound PZ's own logs. It did not. data/Logs had reached 18 GB across 112 entries and 146k files, and rotation had never once fired there. Two reasons, both wrong assumptions on my part. PZ rolls its logs into dated directories -- logs_2025-12-14/ through logs_2026-08-26/, up to 279 MB each -- so the Logs/*.txt glob only ever matched a handful of loose files at the top. And it rotates by size: not one file in that tree exceeds 100M, because the growth is in the number of files, not the size of any of them. Age-based pruning is the right tool, so this adds a daily zomboid-log-prune timer keeping 14 days and deleting the emptied directories behind it. It runs under podman unshare, since the files belong to the container's UID. logrotate keeps server-console.txt, which is a single ever-growing file and genuinely is what it is good at. Narrowed its scope to say so rather than implying coverage it never had. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Deploy Home
There's no place like home!
Just as Dorothy managed the simple task of clicking her heels together, the desire for an equally simple one-button push deployment was in my heart. Thus, this repository was made.
Ansible
Ansible, along with double encrypted secrets, deploys the necessary configurations to make the home fit for certain needs and desires. Namely, having access to my home from anywhere, securely, and a self-hosted CI server that easily ties into existing workflows.
Makefile
The makefile is primarily used as a wrapper script to ensure that necessary
files, such as the secret vault password file, are provisioned as part of this.
One such addition to the task is utilizing dependency pinning through the
utilization of Python's virtualenv to lock down the specific dependency
versions within the requirements.txt file. This, ideally, prevents any
deployment issues with dependency version woes (e.g. version conflicts, major
updates in newest versions, etc.)
| Target Name | Description |
|---|---|
lint |
(default) Runs yamllint and ansible-lint on all YAML files in ansible/ |
deploy |
Deploys everything, or only tasks specified in TAGS= environment variable |
check |
Runs deploy in a "dry-run", showing diff-style outputs on tasks indicating changes |
vault |
Opens the Ansible vault file for editing |