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]>:
> 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].
> 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/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/CAOpn5sT0pH%2BR73Rwnp-36WAM05_ufFcTAFbFfXs5hMfYz-1kww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to