I was wondering if anybody has done any work on the vmware.py[1] dynamic inventory script? I’d like to push it on a bit, with a couple of things:
a) Get it using the Python pysphere module (to bring it inline with vsphere_guest - please leave “pysphere vs pyvmomi” for now, that’s a whole other discussion :))
b) Some sort of filtering like the AWS ec2.py inventory script
If you’ve already started work on anything like these couple of points would you get in touch please?
It's still using psphere, but adds some default groups and facts that could
be used with group_by to create additional groups. There's not (yet) any
filtering equivalent to instance_filters in ec2.py.