Using ansible as a hardening tool

Is there anyone out there that have used ansible as a hardening tool to harden hypervisors like ESXi, KVM and Windows Server? If so, is there any playbook available or tutorial to use ansible to harden hypervisors? After trying to research for a tutorial/playbook on this topic for a while, I can’t seem to find anything regarding this. Any help would be appreciated!