(no title)
_mig5 | 1 month ago
There is the --exclude option which might help (also keep in mind you can define an enroll.ini file to manage the flags so it's less cumbersome). Otherwise, you can always prune the roles from the ansible dir/playbook.
I'm going to continue to work on easy options to skip stuff. In particular I do think many of the 'lib' packages could be omitted if they are just dependencies of other packages already detected as part of the harvest. (Need to basically build a dependency graph)
Thanks for trying it out!
mlrtime|1 month ago
What I mean is in some large companies you are given a host that already has lots of config changes, possibly by ansible. Then your team has to configure on top of those changes, maybe ansible again. I'd like to run on the baseline system given to create a baseline, then on a production host to see how it drifted.
Sorry if this is in the docs, cool tool!
_mig5|1 month ago
Treat that as your 'golden' harvest state. You could then run a 'harvest' on the production system. You'd then be able to run 'enroll diff --old baseline --new production' to compare the difference.
You could also first run the manifest of the baseline harvest against your production, to ensure it has (at least) all the same things as the baseline.
A 'harvest' of production after that, would probably then show just stuff that existed on production already that wasn't in the baseline.
I hope that makes sense!
gerdesj|1 month ago
I had documented everything up to a point on this beatie and then things have got out of hand. I now have all the changes from after I went off piste.
What a great tool.
Thank you.