Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VMware: confine search for network till datacenter level (ansible#40382)
If there are multiple distributed virtual portgroup network with same name in different datacenter, vmware_guest module used to choose first DVPG irrespective of the datacenter. This caused problem if two datacenter has same name for DVPG, vmware_guest module failed with error "The object or item referred to could not be found." This fix adds check to search for network (Distributed Virtual Portgroup) till datacenter level. This avoids selection of same name DVPG from other datacenter. Signed-off-by: Abhijeet Kasurde <[email protected]>
- Loading branch information