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

On Thursday, May 12, 2022 at 4:28:28 PM UTC-4 [email protected] wrote:

>
>
> On 2022-05-12 (Thu) 19:13, Anil Kumar wrote:
> > Is this bug?
>
> Yes, but probably one in your own configuration:
>
> > On Thursday, May 12, 2022 at 5:19:55 PM UTC+2 Anil Kumar wrote:
> > 
> > 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
>
> You define type as sata, but the ansible version that you run only 
> supports 'ide':
>
>
> https://docs.ansible.com/ansible/2.9/modules/vmware_guest_module.html#parameter-cdrom
>
>
> Try upgrading to something less ancient, or use 'ide', or don't define 
> controller_type as 'ide' is the default for that anyway.
>
>
> Dick
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/854b55e3-b641-4cc0-b395-c8180dbd0b3en%40googlegroups.com.

Reply via email to