This is an automated archive made by the Lemmit Bot.
The original was posted on /r/selfhosted by /u/RipKlutzy2899 on 2025-04-04 08:42:31+00:00.
Hey folks! 👋
I’ve created a small Ansible playbook for automating the initial setup of Linux servers — perfect for anyone spinning up a VPS or setting up a home server.
🔗 GitHub: github.com/mist941/basic-server-configuration
🛠️ What it does:
- Creates a secure user with SSH key access
- Disables root login & password authentication
- Configures UFW firewall with safe defaults
- Installs and sets up
fail2ban
- Enables unattended security upgrades
- Syncs time using NTP
- Installs useful tools like
vim
, curl
, htop
, mtr
, and more
💬 Why I built this:
I used to manually harden every new VPS or server I set up — and eventually decided to automate it once and for all. If you:
- run self-hosted services,
- want a safe and quick VPS setup,
- or want to get started with Ansible
this playbook might save you time and effort.
🚀 Contributing:
I’ve created a few good first issues
if anyone wants to contribute! 🤝
Feedback, PRs, or even just a ⭐ would be hugely appreciated.