I need 50gb space, 64gb of ram and 2 cpu's for new virtual machines.
We want to use Ansible for infrastructure as code, but what would best practices in letting Ansible picking the right datastore and esx host?
- Write a python command based on the pyvmomi package? As Ansible doesn't seem to have any modules that can check for free disk space in data stores or for free memory in hosts.
- Some sort of VMware dynamic inventory?