Repository navigation
Releases
Releases · opafra/lemano
v0.1.0
Immutable
release. Only release title and notes can be modified.
The first release. Lemano reads Linux servers over SSH, installs nothing on them, and keeps each state as a numbered generation in a local, encrypted, hash-chained store, so you can see what changed, who changed it, and put it back.
What it does
lemano discoverreads a server in one SSH session and brings 14 kinds of resources under management on the first read: packages, files, Git checkouts, services, cron jobs, mounts, swap, container mounts, users, groups, SSH authorized keys, sudo rules, firewall rules and kernel parameters.lemano diffandlemano historyshow what changed between two generations and who changed it: an Ansible run, the package manager, or a person through sudo, with their command.lemano state list,state showandstate pullshow what defines a server, and write it down as a declaration.lemano baselineaccepts a generation as the expected state, and later passes report what drifted from it.lemano revertputs files and kernel parameters back from a plan you approve, after checking that the server has not changed since the plan. A trial undoes itself if you lose SSH access or the server reboots.lemano summaryreports the changes of the last day across all servers, for a scheduledlemano discover.lemano verifychecks the store's hash chain.lemano ansibleimports an Ansible inventory as targets, records what each playbook run changed task by task, checks playbooks against the servers (in sync, drifted, missing, or managed by none of them), proposes role edits for changes made by hand, and exports a server as an Ansible project.- An agent skill teaches coding agents the commands, the JSON output and the exit codes.
Supported systems
- Lemano runs on Linux and macOS, on amd64 and arm64.
- Servers: tested on Debian 12 and 13, Ubuntu 24.04 and 26.04 and Rocky Linux 9, in containers and on Debian 12 and Rocky Linux 9 virtual machines (the latter with SELinux enforcing).
- Ansible: ansible-core 2.20, 2.21 and 2.22.
Known limitations
- Commands, file formats and the store layout can still change before version 1.0.
lemano revertcovers files and kernel parameters. The other kinds are recorded and compared, not reverted.- Packages are read on the Debian and Red Hat families only.
- The macOS binaries are not signed or notarized.
Install
curl -fsSL https://lemano.dev/install.sh | LEMANO_VERSION=0.1.0 shThe install page has the .deb and .rpm packages, the container image ghcr.io/opafra/lemano:v0.1.0, and how to verify the files of this release.