vmware_guest does not add cd-rom for a VM

here is my code

  • hosts: localhost
    connection: localhost
    vars:
    vcenter_hostname: myVcenter
    vcenter_username: **************
    vcenter_password: ‘**********’
    tasks:
  • name: Create a virtual machine from a template
    vmware_guest:
    hostname: “{{ vcenter_hostname }}”
    username: “{{ vcenter_username }}”
    password: “{{ vcenter_password }}”
    validate_certs: no
    folder: /RHEL
    name: mtest
    state: poweredon
    #template: template_el7
    cdrom:
  • controller_number: 0
    controller_type: sata
    unit_number: 0
    type: client
    state: present
    delegate_to: localhost

Is this bug?

Is this bug?

Yes, but probably one in your own configuration:

Thanks Much, correct, pin pointed the issue. (y)