From 5efb84e835d335455f2ac7d2bd8af9c3ff8977d1 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Tue, 6 Jan 2026 08:25:19 +1100 Subject: [PATCH] Doc updates --- src/docs.html | 2 +- src/index.html | 22 +++++++++++++++++++--- upload.sh | 2 ++ 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/docs.html b/src/docs.html index ecb1913..60fd91b 100644 --- a/src/docs.html +++ b/src/docs.html @@ -72,7 +72,7 @@
Prefer the canonical docs? - README on Forgejo. + README on Forgejo.
diff --git a/src/index.html b/src/index.html index 978d72c..1aaac68 100644 --- a/src/index.html +++ b/src/index.html @@ -81,11 +81,11 @@ ├── playbook.yml ├── roles/ │ ├── cron/ +│ ├── etc_custom/ │ ├── firewall/ │ ├── nginx/ │ ├── openssh-server/ │ ├── users/ -│ ├── etc_custom/ └── README.md
Tip: for multiple hosts, use --fqdn to generate inventory-driven, data-driven roles.
@@ -187,7 +187,7 @@

Quickstart

- Full README + Full README
@@ -196,6 +196,7 @@ +
@@ -264,7 +265,22 @@ enroll diff \ --webhook-header 'X-Enroll-Secret: ...' \ --exit-code
+
E-mail notifications are also supported. Run it on a systemd timer to alert to drift!
+
+
+ +
# Explain what's in a harvest
+enroll explain /path/to/harvest
+
+# JSON format, and using a SOPS-encrypted harvest
+enroll explain /path/to/harvest.sops \
+  --sops \
+  --format json
+
+
+
'explain' tells you why something was included, but also why something was excluded.
+
@@ -329,7 +345,7 @@ enroll diff \

Use your preferred packaging. An AppImage is also available.

- Other install steps + Other install steps
diff --git a/upload.sh b/upload.sh index 34fc890..d6e557a 100755 --- a/upload.sh +++ b/upload.sh @@ -5,6 +5,8 @@ set -eou pipefail SRC="src" DEST="/opt/www/enroll.sh" +cp -a ~/git/enroll/enroll/schema/state.schema.json src/schema/state.schema.json + rsync -aHPvz ${SRC}/ root@lupin.mig5.net:${DEST}/ ssh root@lupin.mig5.net "chown -R web:web ${DEST}"