enroll/enroll
Miguel Jacq ebd30247d1
Some checks failed
CI / test (push) Failing after 1m48s
Lint / test (push) Successful in 32s
Trivy / test (push) Successful in 22s
Add --enforce mode to enroll diff and add --ignore-package-versions
If there is diff detected between the two harvests, and it can
enforce restoring the state from the older harvest, it will
manifest the state and apply it with ansible. Only the specific
roles that had diffed will be applied (via the new tags capability).

`--ignore-package-versions` will skip reporting when packages are
upgraded/downgraded in the diff.
2026-01-10 10:51:41 +11:00
..
schema Introduce 'enroll validate' to check a harvest meets the schema spec and isn't lacking artifacts or contains orphaned ones 2026-01-05 21:17:50 +11:00
__init__.py Initial commit 2025-12-14 20:53:22 +11:00
__main__.py Initial commit 2025-12-14 20:53:22 +11:00
accounts.py Changes that make ansible-lint happy. nosec on the subprocess commands 2025-12-15 11:29:08 +11:00
cache.py Remote mode and dangerous flag, other tweaks 2025-12-17 17:02:16 +11:00
cli.py Add --enforce mode to enroll diff and add --ignore-package-versions 2026-01-10 10:51:41 +11:00
debian.py Refactor state structure and capture versions of packages 2025-12-29 16:10:27 +11:00
diff.py Add --enforce mode to enroll diff and add --ignore-package-versions 2026-01-10 10:51:41 +11:00
explain.py Introduce enroll explain 2026-01-05 10:16:44 +11:00
fsutil.py Ensure directories in the tree of anything included with --include are defined in the state and manifest so we make dirs before we try to create files 2026-01-02 21:10:32 +11:00
harvest.py Manage certain symlinks e.g for apache2/nginx sites-enabled and so on 2026-01-05 16:29:21 +11:00
ignore.py Manage certain symlinks e.g for apache2/nginx sites-enabled and so on 2026-01-05 16:29:21 +11:00
jinjaturtle.py Attempt to generate Jinja2 templates of systemd unit files and Postfix main.cf (now that JinjaTurtle supports it) 2026-01-06 12:47:12 +11:00
manifest.py Add --enforce mode to enroll diff and add --ignore-package-versions 2026-01-10 10:51:41 +11:00
pathfilter.py 0.1.6 2025-12-28 15:32:40 +11:00
platform.py Refactor state structure and capture versions of packages 2025-12-29 16:10:27 +11:00
remote.py Support for remote hosts that require password for sudo. 2026-01-04 20:49:10 +11:00
rpm.py Fix tests 2025-12-29 16:35:21 +11:00
sopsutil.py black 2025-12-18 13:34:37 +11:00
systemd.py Capture more singletons in /etc and avoid apt duplication 2025-12-27 19:02:22 +11:00
validate.py Introduce 'enroll validate' to check a harvest meets the schema spec and isn't lacking artifacts or contains orphaned ones 2026-01-05 21:17:50 +11:00
version.py Add version CLI arg 2025-12-29 14:29:11 +11:00