diff --git a/roles/module_openapi_cloud/templates/module_directory/vmware_rest/default_module.j2 b/roles/module_openapi_cloud/templates/module_directory/vmware_rest/default_module.j2 index 7b11fdc..910b5ba 100644 --- a/roles/module_openapi_cloud/templates/module_directory/vmware_rest/default_module.j2 +++ b/roles/module_openapi_cloud/templates/module_directory/vmware_rest/default_module.j2 @@ -85,7 +85,7 @@ async def _{{ operation }}(params, session): {% if name in ["vcenter_host", "vcenter_datacenter"] %} if "folder" not in params: return - search_filter = f"&folders={params.get['folder']}" + search_filter = f"&folders={params.get('folder')}" {% endif %} if "name" not in params: return