Add sanoid Ansible role for ZFS snapshots and replication

Replaces manually deployed config files with a fully idempotent role:
installs sanoid, templates sanoid.conf and syncoid service/timer from
variables, enables both systemd timers. Removes static proxmox/sanoid.*
files. README rebuild section updated accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Adyrem
2026-05-16 04:22:05 +02:00
parent 18e05c2f88
commit 1cf6c81ac5
10 changed files with 128 additions and 51 deletions
+1 -13
View File
@@ -173,19 +173,7 @@ ansible-playbook playbooks/claude-code-vm.yml
### 6. Set up sanoid/syncoid for ZFS snapshots
Sanoid and syncoid are not yet in an Ansible role — deploy manually:
```bash
apt install sanoid
# Copy config from repo
cp proxmox/sanoid.conf /etc/sanoid/sanoid.conf
cp proxmox/syncoid.service /etc/systemd/system/syncoid.service
cp proxmox/syncoid.timer /etc/systemd/system/syncoid.timer
systemctl enable --now sanoid.timer
systemctl enable --now syncoid.timer
```
Handled automatically by `playbooks/host.yml` (the `sanoid` role). No manual steps needed.
### 7. Restore Grafana password