# vmware\_guest - unsupported parameter for module: networks

**URL:** <https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-networks/23723>\
**Category:** Ansible Project\
**Created:** [February 13, 2017, 10:10pm UTC](https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-networks/23723 "2017-02-13T22:10:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Esteves](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@Ricardo\_Esteves](https://forum.ansible.com/u/Ricardo_Esteves)\
**Post date:** [February 13, 2017, 10:10pm UTC](https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-networks/23723/1 "2017-02-13T22:10:21Z")

</div>

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: administrator@vsphere.local  
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?

---

<div class="post-metadata">

**Author:** ![Takeshi\_Kuramochi](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@Takeshi\_Kuramochi](https://forum.ansible.com/u/Takeshi_Kuramochi)\
**Post date:** [February 14, 2017, 12:01am UTC](https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-networks/23723/2 "2017-02-14T00:01:49Z")

</div>

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](http://docs.ansible.com/ansible/vmware_guest_module.html)

Thanks,

Tk

---

<div class="post-metadata">

**Author:** ![Ricardo\_Esteves](https://avatars.discourse-cdn.com/v4/letter/r/7bcc69/32.png) [@Ricardo\_Esteves](https://forum.ansible.com/u/Ricardo_Esteves)\
**Post date:** [February 14, 2017, 7:39am UTC](https://forum.ansible.com/t/vmware-guest-unsupported-parameter-for-module-networks/23723/3 "2017-02-14T07:39:56Z")

</div>

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.
