My guess would be its something to do with indentation in your playbook.

I suggest you try editing your playbook in a yaml-aware editor.  On windows 
you can use Notepad++  - or use yamlint.com 

Hope this helps,

Jon

On Friday, July 31, 2015 at 1:58:40 PM UTC+1, Timo wrote:
>
> 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/7ffeab82-4e5e-4f42-842f-bf073a3ff90f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to