vmware-archive / ansible-module-vcloud-director

ansible-module-vcloud-director
Other
111 stars 85 forks source link

create empty vm #163

Open Batman781 opened 3 years ago

Batman781 commented 3 years ago

`- name: vCloudDirectorAnsible hosts: localhost environment: env_user: administrator env_password: pass env_host: https:/// env_org: org env_api_version: 34.0 env_verify_ssl_certs: false tasks:

Running this playbook I got Vapp is created on vcloud but no vm is created. Is it possible to create an empty vm with some disks?

mukultaneja commented 3 years ago

@gabbiano83 as of now, we support the below two ways to create VMS using vcd_vapp_vm,

  1. Create VMs from vApps
  2. Create VMs from Catalogs.

You can use the vcd_vapp_vm_disk module to attach new disks to the VM.

Batman781 commented 3 years ago

It's ok, but is it possible to create an empty VM from scratch? could you link or provide an example creating from vApp ?

mukultaneja commented 3 years ago

@gabbiano83, I am working on your request but the current VCD API to create a standalone VM is broken. we are fixing it so stay tuned!

whoamiUNIX commented 2 years ago

Is there any update?

deucalion77 commented 8 months ago

Is there any update or anyway to create a VM