I see. I new it was for version 2.3, but i though that would already be 
implemented in the devel branch, that's why i tried with latest git clone.

Thanks anyway.

On Tuesday, February 14, 2017 at 1:02:01 AM UTC+1, Takeshi Kuramochi wrote:
>
> Hi, 
>
> It's parameter is planned to be supported in v2.3( Release Target: 
> February/March 2017 ). 
>
> http://docs.ansible.com/ansible/vmware_guest_module.html 
>
> Thanks, 
>
> Tk 
>
> 2017-02-14 7:10 GMT+09:00 Ricardo Esteves <[email protected] 
> <javascript:>>: 
> > Hi, 
> > 
> > I'm trying to execute this playbook with the latest version from git: 
> > 
> > # Create a VM from a template 
> > 
> > - hosts: 127.0.0.1 
> >   connection: local 
> >   gather_facts: no 
> >   tasks: 
> >   - name: create the VM 
> >     vmware_guest: 
> >       hostname: XXX.XXX.XXX.XXX 
> >       username: [email protected] 
> >       password: XXXXXXXX 
> >       validate_certs: no 
> >       esxi_hostname: XXX.XXX.XXX.XXX 
> >       datacenter: DATACENTER 
> >       folder: /TEST 
> >       name: testvm_ansible 
> >       state: poweredoff 
> >       hardware: 
> >         memory_mb: 512 
> >         num_cpus: 1 
> >         scsi: paravirtual 
> >       disk: 
> >     - size_kb: 279552 
> >           type: thin 
> >           datastore: datastore1 
> >         - size_gb: 10 
> >           type: thin 
> >           datastore: datastore1 
> >       networks: 
> >       - name: DPG-Lan 
> >         ip: XXX.XXX.XXX.XXX 
> >         netmask: 255.255.255.0 
> >         gateway: XXX.XXX.XXX.XXX 
> >       template: Template_CentOS_7_x86_64 
> >       wait_for_ip_address: yes 
> >     register: deploy 
> >   - debug: var=deploy 
> > 
> > But i get this error: 
> > 
> >  }, 
> >     "msg": "unsupported parameter for module: networks" 
> > } 
> > 
> > Any ideas what could be wrong? 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/49f566c5-4dea-4e33-b186-7b2e6bf68aba%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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/44989eb2-4a44-486c-9be2-9e00018a4132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to