ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

:lady_beetle: Bug: vm_disk - add support for vtpm disk type #283

Closed ddemlow closed 4 months ago

ddemlow commented 6 months ago

Describe the bug

9.3.5 (and maybe some 9.2?) support machine types with vtpm ... for some manual machine type conversions it may be required to manually create the vtpm (and nvram) devices. rest api in 9.3.5 (at least -possibly more) support this. adding nvram below does work

To Reproduce

TASK [add vtpm and nvram virtual disks] **** fatal: [vlb04a-01.lab.local]: FAILED! => {"changed": false, "msg": "value of type must be one of: ide_cdrom, virtio_disk, ide_disk, scsi_disk, ide_floppy, nvram, got: vtpm found in items"}

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

System Info (please complete the following information):

Additional context

Add any other context about the problem here.