create VM from template with customiation spec

I want to create vm in vsphere from template and customize OS with customization spec

I am not sure how to apply a customization spec in ansible. any idea?

will something like this work

You need to create a customization_spec in the vCenter and then refer that using

customization_spec.

That pull request is still open.

Walter