Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix datacenter loop issue with lookup plugins (ansible-collections#547)
SUMMARY This fixes an issue where the datacenter search filter is never actually set. In some cases this caused the lookup plugin to short circuit and return incorrect results, or return results that were outside of the search scope ISSUE TYPE Bugfix Pull Request COMPONENT NAME All lookup plugins ADDITIONAL INFORMATION Before "lookup('vmware.vmware_rest.resource_pool_moid', '/' + vcenter_datacenter + '/' + vcenter_cluster + '/')": [ "resgroup-3026", "resgroup-35", "resgroup-5060", "resgroup-55921", "resgroup-63368" ] } After "lookup('vmware.vmware_rest.resource_pool_moid', '/' + vcenter_datacenter + '/' + vcenter_cluster + '/')": [ "resgroup-63368" ] } Reviewed-by: Danielle Barda Reviewed-by: Anna Savina
- Loading branch information