vmware_guest module configure networks with distributed switch / Portgroup

16 views
Skip to first unread message

Jörg Mainzer

unread,
Sep 5, 2017, 9:28:54 AM9/5/17
to Ansible Project
Hello,

on creation or reconfiguration of a vmware guest I got an error:
fatal: [localhost]: FAILED! => {"changed": true, "failed": true, "msg": "Das Objekt oder Element, auf das Bezug genommen wurde, konnte nicht gefunden werden."}

when the network is a Portgroup of a  vSphere distributed switch.

Using a standard switch network is ok.

The vsphere_guest module has the option to specify the network_type, like:
          network_type: dvs
So with the vsphere module I can create the network, but with the vmware_guest module I am stuck.

Is the vmware_guest module not supporting dvs?

Joerg

Reply all
Reply to author
Forward
0 new messages