Ansible Variables, Facts, and Conditionals Explained
Use Ansible variables, auto-gathered facts, and when conditions to tune one playbook so it runs correctly across every host in your fleet.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Use Ansible variables, auto-gathered facts, and when conditions to tune one playbook so it runs correctly across every host in your fleet.
Encode docs on CPU with MiniLM or llama.cpp, normalize 384-d vectors, and keep embeddings on one Lucknow VPS instead of a billed embedding API.
Set up fail2ban to auto-ban brute-force sources across SSH, web, and mail, then tune jails, bantimes, and notifications for real-world traffic.
Debian 13 trixie behaves like the Debian you already trust: security suite, backports, pinning, and apt habits that keep a conservative server boring.
Use multi-stage Dockerfiles to compile in one layer and copy only the runtime artifacts forward — image sizes drop from gigabytes to tens of megabytes.
Standard templates, reusable labels, and a little triage bot turn a noisy public issue queue into an actionable backlog, and nothing real slips through.
Deploy Nextcloud with Docker Compose to self-host file sync and backup, then tune clients, cron jobs, caching, and storage backups on your VPS.
Install k3s on a single VPS node to get a working Kubernetes cluster in minutes, then verify nodes, pods, and kubectl access.
Build a hardened Rocky Linux 9 baseline: admin users, SSH keys, firewalld rules, fail2ban, and automatic security updates before your app ever ships.
Compare Docker Swarm and Kubernetes for a few dozen containers on just a handful of nodes, and learn where Swarm's simplicity genuinely pays off.
Ship incomplete features safely by hiding them behind flags, so every merge stays green and the trunk is always deployable.
Route every self-hosted app through one Nginx Proxy Manager entry point so TLS, hostnames, and access rules stay consistent as your stack grows.