I haven't done any vmware provisioning with ansible for a while but this looks like it might help get you started in terms of what can go into a customisation spec.
https://developer.vmware.com/apis/vsphere-automation/latest/vcenter/data-structures/Vm/Guest/Customization/SetSpec/ If you skim a few of the 'how do I do customisation specification' how-tos most people create them via the UI but you can then export/import/view in the datastore. https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-EB5F090E-723C-4470-B640-50B35D1EC016.html https://www.bdrsuite.com/blog/what-is-vmware-vm-customization-specification-and-how-to-use-it/ https://www.virtualizationhowto.com/2017/10/using-vmware-vsphere-vm-customization-specification/ https://www.vladan.fr/what-is-vmware-vm-customization-specification-and-how-to-use-it/ In your shoes, I'd try to grab an ESX & vCenter trial (or VMUG Advantage Sub), build a nested environment and work through the steps . On Wed, 5 Jul 2023 at 18:22, 'Terry Lemons' via Ansible Project < [email protected]> wrote: > Hi > > Several Ansible modules, as well as govc ( > https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#vmcustomize) > use vSphere customization specifications. I've searched but I haven't found > vSphere (or other) documentation on the key:value pairs that are available > for use in the customization specification files consumed by govc and > others. > > Where can I find this documentation? I particularly want to figure out how > to set the Windows 'administrator' password as I deploy a vSphere VM. > > Thanks! > tl > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/95da103a-0ab5-4eaa-9b0e-a698942dfdden%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/95da103a-0ab5-4eaa-9b0e-a698942dfdden%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAKtKohTybH53ihXSyedVUjQpGNQFC5zbg2t7QfTB_%3DmKUMyhYQ%40mail.gmail.com.
