Updating a vm without elements in disk_list result in: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: object of type 'NoneType' has no len()
yannickstruyf3 opened this issue · comments
Example playbook:
- name: "Creating vm"
nutanix_vm:
validate_certs: no
name: "{{name }}"
state: "{{ state }}"
cluster: "{{cluster_uuid}}"
cpu: "{{ cpu }}"
vcpu: 1
memory: "{{ memory }}"
disk_list:
nic_list:
- subnet_reference:
uuid: "{{subnet_uuid}}"
Initial creation works fine but re-running the playbook result in following output:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: object of type 'NoneType' has no len()