
Description
Enroll is a command-line tool that inspects an existing Debian-like or Red Hat-like Linux server and generates Ansible code that describes its configuration. The aim is to bring a server that was set up by hand into configuration management without starting from scratch. The workflow has three stages: harvest, where Enroll collects host facts and selected files into a bundle; manifest, where it turns that bundle into an Ansible repository with roles, playbooks, requirements and per-host variables; and manage, where you run Ansible against the result. It also has commands to compare two harvests, explain what was included or excluded and why, and validate a bundle before you trust it. By default, it avoids likely private keys, credential assignments, tokens, secret paths, oversized files and binary-looking files, and only includes them if you opt in with a dangerous flag. Remote harvesting runs over SSH, and encrypted bundles are available with SOPS. Package and service snapshots are grouped into shared roles where possible. The site recommends starting with a local safe-mode harvest, inspecting the output, and only then running Ansible. Install it with pipx to try it on a host.…
Highlights
- Turns a hand-built Linux server into Ansible code
- Harvest, manifest and validate commands
- Avoids private keys and secrets by default
- Remote harvesting over SSH
- Optional SOPS encryption for bundles
Ratings & Reviews
No ratings yet
Be the first to rate Enroll.
People also visit
Launchpad
A collection of quick starters for ansible, kubernetes, docker, linux, windows
Enroll FAQ
What is Enroll?
It is a command-line tool that reverse-engineers an existing Linux host into Ansible roles and playbooks.
Which systems does it support?
The site says it inspects Debian-like and Red Hat-like Linux hosts.
How do I install it?
Install it with pipx install enroll, then run enroll harvest to capture a host and enroll manifest to generate the Ansible output.
Does it copy my secrets?
By default, no. It avoids likely private keys, credential assignments, tokens and other secret paths unless you opt in with the dangerous flag.
Can it harvest a remote server?
Yes. The site says you can run the harvest on another host over SSH and then render the manifest locally.
Should I run the output straight away?
The site suggests you start with a safe-mode harvest, inspect the output and validate the bundle before running Ansible.
What are the best Enroll alternatives?
Popular alternatives to Enroll include DebOps, Launchpad and HomeButler. See all Enroll alternatives





