by exceptione · 2y ago · 0 comments
That way you contain the inherent mess that a Windows install will eventually devolve into. You also get the ability to snapshot states of your windows install, which makes it possible to mess around a bit and then roll back to a previous state.
You didn't tell what Windows software you want to run, but depending on your needs you could even do a pci-passthrough in this setup.
I do not recommend Ansible as someone else did. You will spend your days fighting a mix of yaml and Jinja. You will end up looking at Python errors because there are no static types. Never again.
Hopefully not relevant for uni work, but still worth mentioning.
If anyone is thinking about using ansible, I would suggest approaching it like a software project.
Define specialised roles, create test playbooks for those individual roles, use these roles to compose more complex playbooks, and offload logic to custom ansible modules that are written in python. This way you catch template problems early and won't wrestle with heavy logic in the template or playbook layer.
Came here to say exactly this, and lo, top comment.
Don't let windows anywhere near you actual hardware.