DebOps: Ansible Roles and Playbooks for Debian and Ubuntu Fleets
DebOps - Your Debian-based data center in a box
At a glance
- What is it?
- DebOps packages a set of general-purpose Ansible roles with a default playbook layer driven by inventory groups. The design bets on inventory as the only configuration surface, which keeps role code shareable across environments and pushes all divergence into host and group variables.
- Who is it for?
- Adopt DebOps if you run Debian or Ubuntu hosts and want a pre-built role library where every environment difference lives in Ansible inventory rather than in forked role code. Do not adopt it if your fleet is not Debian-based, or if you want a tool that manages hosts without an Ansible controller and SSH key access.
- Can I use it commercially?
- The repository metadata does not identify a licence. Check the project’s published terms and any component-specific licences before reuse.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Jinja, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- debops/debops1,431 ★ · +11
| Repository | 2026-09-11 | 2026-11-25 |
|---|---|---|
| debops/debops | 1.4k | 1.4k |
11 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The problem DebOps addresses: one role library, many environments
Most Ansible shops end up with a pile of roles that were copied between projects and then edited in place. The copy is where the divergence starts. DebOps takes the opposite position: the roles are general-purpose and shipped as a unit, and the README states that customization is done using Ansible inventory, so the role and playbook code can be shared between multiple environments with different configuration in each one. That is the whole design thesis, and it decides who the project is for. It suits operators who manage several Debian or Ubuntu environments that differ in hostnames, addresses and service placement but not in the mechanics of installing and configuring software. It does not suit anyone who needs to change what a role does at the task level, because that change belongs upstream or in a fork, not in a per-environment copy. The scope is deliberately wide: the README lists SQL and NoSQL databases, web servers, programming languages, specialized data center and cluster applications, and virtualization via KVM/libvirt, Docker or LXC. Services can sit on one host or be spread across several, which is why the inventory layer carries so much weight.
How the role and playbook layers divide the work
There are two layers. The first is a set of Ansible roles that handle individual services. The second is a default set of playbooks that apply those roles in a controlled way, and the README says the control mechanism is Ansible inventory groups. That is the data flow: you place a host into a group, the group selects which playbooks and roles apply, and variables attached to the host or group change how those roles behave. The repository itself is written predominantly in Jinja, which is consistent with a codebase whose configuration logic lives in templates and variable files rather than in imperative task code. A project directory is the unit of separation. The README describes creating a new environment with debops project init, then editing the inventory, then running the default playbook. The controller setup in the shipped src/controller directory exists so you can try the tool against a container or VM before pointing it at real hardware. Role dependency resolution and playbook ordering are best read from the documentation site rather than inferred from the README.
Installing DebOps and running the first playbook
There are two install paths in the README. The Python package bundles the roles and playbooks plus scripts for creating project directories and running Ansible, installed with pipx install --user debops[ansible]. The alternative is the Ansible Collection, installed with ansible-galaxy collection install debops.debops. The package route gives you the debops command; the collection route gives you the roles inside an existing Ansible setup. For a first look without installing anything, the README gives a Docker command that starts an Ansible controller container based on Debian Buster, after which you run cd src/controller ; debops run common --diff. A Vagrant path does the same thing: clone the repository, run vagrant up and vagrant ssh, then the same cd and debops run common --diff. For real use, the sequence is debops project init ~/src/projects/my-environment, edit ansible/inventory/hosts, then debops run site for the full playbook or debops run common -l <hostname> for a single host. The --diff flag on the common run is worth keeping in your habit: it shows what changes before you accept them on a host you cannot reach by console.
The SSH and firewall constraints you meet on day one
Two warnings in the README matter more than the quick start commands. First, DebOps enforces SSH security by disabling password authentication, so key-based access is strongly recommended and the README notes this can be changed using inventory variables. If your existing hosts are reached with passwords, the first playbook run can lock you out of the very access you need to fix it. Second, the README states plainly that during initial deployments the firewall created by DebOps may have blocked you from accessing the hosts, and advises having out-of-band console access to log in and troubleshoot. That is an honest admission of a real failure mode, and it is the strongest argument against running DebOps against a remote host you can only reach over the network. The safe pattern is to start on a local host, a container or a VM, confirm the firewall rules and SSH configuration, and only then extend to machines where a mistake costs you a support ticket. Neither warning is a defect in the roles; both are consequences of applying a security baseline before you have verified your own access path.
Where DebOps is the wrong tool
The name is the boundary. DebOps manages Debian or Ubuntu hosts, and the README does not claim support for anything else. If your fleet is RHEL, Alpine or a mix, the roles are not a starting point you can bend; package names, service units and file paths differ enough that you would be rewriting rather than configuring. The second boundary is the configuration surface. Because customization is done through inventory, any change that is not expressible as a variable means changing the role. Teams that routinely patch vendor roles in place will find this restrictive, and the README's own development workflow confirms the intended path: fork the repository, symlink the fork into a development project directory, and prepare changes as pull requests. That is a contribution model, not a local override model. The third boundary is operational. DebOps assumes an Ansible controller with SSH access to the managed hosts. If your environment forbids SSH key distribution or requires agent-based management, the tool has nothing to offer.
DebOps against a plain Ansible role collection
The closest comparison is not another configuration management system but a collection of Ansible roles you assemble yourself, which is what a team typically has before adopting something like this. The difference is in what is fixed and what is variable. With your own roles, the playbook structure is yours, the variable names are yours, and the cost of a bad abstraction is paid locally. With DebOps, the playbook layer and the group conventions come pre-decided, and you gain a large body of roles for databases, web servers and virtualization that you did not have to write or maintain. The trade is that you inherit someone else's naming and grouping conventions, and you accept their release cadence. The release list shows v3.3.0, v3.2.6 and v3.1.7 all dated 2026-03-13, which suggests the project maintains parallel release lines rather than a single moving head. Whether those lines correspond to Ansible version support is the first thing to check in the documentation before pinning a version for a production environment.
Maintenance, releases and the licence question
The repository is not archived and the last push recorded is 2026-08-25, so the project is active. Upgrades are the practical cost. Because roles and playbooks ship together and configuration lives in inventory, a version bump can change default variable values that your inventory does not override, and the effect will appear as a diff on the next debops run site. The README's development section shows the upstream sync pattern the maintainers use: git checkout master, git fetch upstream, git rebase upstream/master. Running the same against a fork is how you would carry local role changes across a release. On licensing, no licence identifier is listed in the repository metadata, so the terms under which the roles may be used, modified and redistributed cannot be confirmed here. The README does reference a REUSE status badge, which indicates the project tracks per-file licensing metadata, but the badge is not a substitute for reading the actual licence files in the repository. Check those files before you depend on the roles in a commercial deployment.
Editorial conclusion
Adopt DebOps if you run Debian or Ubuntu hosts and want a pre-built role library where every environment difference lives in Ansible inventory rather than in forked role code. Do not adopt it if your fleet is not Debian-based, or if you want a tool that manages hosts without an Ansible controller and SSH key access. Before committing, verify two things: that your inventory layout matches what debops run site expects, and that you have out-of-band console access, because the README states the firewall DebOps creates can block you during initial deployments.
Frequently asked questions
What does DebOps manage on a host?
General-purpose Ansible roles for Debian and Ubuntu hosts, applied by a default set of playbooks through Ansible inventory groups. Coverage includes SQL and NoSQL databases, web servers, programming languages, and virtualization with KVM/libvirt, Docker or LXC, on one host or spread across many.
How do you install DebOps?
Three documented routes. The Python package installs with pipx install --user debops[ansible], the Ansible collection installs with ansible-galaxy collection install debops.debops, and the container or Vagrant route clones the repository and runs debops run common --diff from the src/controller subdirectory.
Why do DebOps managed hosts need SSH keys?
DebOps enforces SSH security by disabling password authentication, so keys are strongly recommended, and the behavior can be changed through inventory variables. The overview also advises keeping out-of-band console access, because the DebOps firewall can block you from the hosts during an initial deployment.
Which license does DebOps use?
The recorded license field for the repository is empty, and the files disagree on scope: pyproject.toml carries GPL-3.0-only while setup.py, the Dockerfile and the Makefile carry GPL-3.0-or-later. The repository also has a LICENSES/ directory and a REUSE status badge.
What do the debops run and debops project init commands do?
debops project init creates a project directory, debops run site runs the full playbook against every host in the inventory, and debops run common -l <hostname> targets a single host. Hosts are declared in the ansible/inventory/hosts file inside the project directory.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/debops-debops)Star history chart for your README
[](https://hysenlabs.com/projects/debops-debops)Was this useful?