Special runtime critical VMs such as database servers or mem caches should not automatically be migrated to other hosts by activated "Fully Automated" vSphere DRS. A feature to create required "VM Overrides" entires is currently not possible via the ansible collection. It would be great to have this functionality via any existing or maybe new community.vmware module.
I think you can you vmware_vm_host_drs_rule and vmware_drs_group / vmware_drs_group_manager modules for create rules for prevention move VMs from host.
SUMMARY
Create "Cluster -> VM Overrides" entries
ISSUE TYPE
COMPONENT NAME
vmware_cluster_vm_overrides
ADDITIONAL INFORMATION
Special runtime critical VMs such as database servers or mem caches should not automatically be migrated to other hosts by activated "Fully Automated" vSphere DRS. A feature to create required "VM Overrides" entires is currently not possible via the ansible collection. It would be great to have this functionality via any existing or maybe new community.vmware module.