-
Notifications
You must be signed in to change notification settings - Fork 9
Description
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
- name: add vtpm and nvram virtual disks
scale_computing.hypercore.vm_disk:
vm_name: "{{ vmname }}"
items:
- disk_slot: 0
type: nvram
size: 1024
- disk_slot: 0
type: vtpm
size: 1024
state: present
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):
- OS: [e.g. iOS] mac
- HyperCore Version: 9.3.5
- Ansible Version:
- Collection Version 1.4.0-dev
Additional context
Add any other context about the problem here.