Ansible collection to install and manage self-hosted services

405 stars 32 forks last commit first released GPL-3.0

Actively maintained

Last commit 25 Jul 2026.

xsrv screenshot

xsrv is an Ansible-based collection of roles, playbooks and utilities designed to install, manage and run a wide range of self-hosted network services and applications on your own servers. It provides modular roles, an optional command-line controller and templates to bootstrap a single-server project quickly.

Key Features

  • Modular Ansible roles for many services (web server, mail, VPN, databases, media, collaboration and more) so components can be deployed independently.
  • Optional command-line controller with utilities for common tasks (provisioning VMs, initializing templates, applying changes and upgrades).
  • Built-in templates and example inventory to get a single-server deployment up quickly and reproducibly.
  • Integration with libvirt for automated VM provisioning and with common OS/stack tooling used on Debian-based hosts.
  • Centralized configuration via role variables and a documented list of configuration variables to control deployments and service options.
  • Role-level maintenance and upgrade procedures; guidance for TLS certificate acquisition and DNS requirements for public services.

Use Cases

  • Deploy and operate a personal or small-team self-hosted server running Nextcloud, Gitea, Matrix, Jitsi, media servers and similar applications.
  • Create reproducible lab or test environments by provisioning Debian VM templates and automated roles via libvirt/Ansible.
  • Manage ongoing maintenance, upgrades and role-based configuration for multiple Debian hosts from a single Ansible controller.

Limitations and Considerations

  • Focused on Debian-based systems: documentation and many roles assume Debian/Ubuntu packaging and tools; non-Debian platforms will require manual adaptation.
  • Requires familiarity with Ansible and SSH-based controller/host workflows; not a turnkey graphical control panel — operations are performed via playbooks and CLI tools.
  • Services and resource usage depend on installed roles; plan CPU, RAM and storage per role and follow role-specific guidance for production use.

xsrv is intended for users who prefer infrastructure-as-code and reproducible Ansible-driven deployments for self-hosting. Its modular role approach makes it suitable for incremental adoption and custom configurations.

Categories:

Tags:

Tech Stack:

Share:

Similar to xsrv

DebOps logo

DebOps

Ansible-based IT automation framework for Debian-based systems.

1.4k
378
Last commit

DebOps is a free, open-source collection of Ansible roles and playbooks to bootstrap and manage Debian/Ubuntu data centers.

Actively maintained
Alternative to:
Red Hat Ansible Automation Platform logo
Red Hat Ansible Automation Platform
+6
DietPi logo

DietPi

Lightweight Debian-based OS for single-board computers

6.2k
558
Last commit

DietPi is an ultra-lightweight Debian-based OS for SBCs and small servers, featuring menu-driven system configuration and an optimized one-command software installer.

GPL-2.0Actively maintained
Alternative to:
Armbian logo
Armbian
+18
Ansible logo

Ansible

Agentless IT automation and configuration management engine

69.7k
24.2k
Last commit

Open source, agentless automation engine for configuration management, app deployment, orchestration, and infrastructure provisioning using YAML playbooks over SSH.

GPL-3.0Actively maintained
Alternative to:
Red Hat Ansible Automation Platform logo
Red Hat Ansible Automation Platform
+4
Ansible-NAS logo

Ansible-NAS

Ansible playbooks to build a home server with Docker apps

3.8k
516
Last commit

Ansible-NAS is an Ansible playbook collection that turns an Ubuntu server into a NAS-style home server by deploying and configuring many self-hosted apps via Docker.

MITSlowing down
Alternative to:
Red Hat Ansible Automation Platform logo
Red Hat Ansible Automation Platform
+7
YunoHost logo

YunoHost

Debian-based server OS and web control panel for self-hosted apps

3k
349
Last commit

Open-source Debian-based OS and control panel that simplifies installing, managing and securing web apps, mail and services via a web admin and app catalog.

AGPL-3.0Actively maintained
Alternative to:
Cloudron logo
Cloudron
+19
Semaphore UI logo

Semaphore UI

Modern web UI and API for automating DevOps tools.

13.9k
1.3k
Last commit

Open-source web UI and API for running Ansible, Terraform/OpenTofu, Bash, and PowerShell tasks with project isolation and access control.

MITActively maintained
Alternative to:
Atlantis Cloud logo
Atlantis Cloud
+16