fleet_snapshot
Records host configuration state (packages, services, ports, users, cron, sysctl, certs, config files) locally and reports changes since the last snapshot, enabling scheduled drift tracking.
Instructions
Record the configuration state of hosts (packages, enabled units, containers/images, ufw rules, listening ports, sshd, users/sudo/authorized keys, crontabs, sysctl, certificates, tracked config files …) to the local state dir, and report what changed since the previous snapshot. Run it on a schedule (e.g. daily cron mia call fleet_snapshot) to keep a change history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | why (shown in history): manual, daily, before-upgrade … | manual |
| target | No | hosts: all | <host> | <glob nl-*> | <group> | role:<edge|remnanode|panel|docker> | tag:<tag>; comma-separated, !x excludes | all |