Hi list,

got a small problem in the vsphere_guest module.

ansible --version: 1.9.2

I can't get the vm_cdrom option to work.

I tried this version, like vm_disk:

        vm_extra_config:
          notes: "{{ notes }}"
          vcpu.hotadd: yes
          mem.hotadd:  yes
          folder: TEST
        vm_cdrom:
          type: iso
          iso_path: "path/to/cd-image.iso"
        vm_disk:
          disk1:
            size_gb: "{{ disk }}"

Which did not work....

And that version, under vm_hardware, according to documentation:
        vm_hardware:
          memory_mb: "{{ memory }}"
          num_cpus: "{{ cpucount }}"
          vm_cdrom:
            type: iso
            iso_path: "VSTOR1-NFS/ISO/cd-image.iso"
          osid: "{{ osid }}"

Both with and without " in iso.

Always the same error:

Note: The error may actually appear before this position: line 18, column 1

#          My comments are here
vm_cdrom:

Note: The error may actually appear before this position: line 32, column 1

#          My comments are here
vm_cdrom:

Can anybody point me to the right direction, what might be wrong?

Thx a lot in advance!

Best,

Timo

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/83707179-0f4e-4162-828b-dde518652158%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to