'Block until server provisioning requests are completed.
:param module: the AnsibleModule object
:param request_list: a list of clc-sdk.Request instances
:return: none'

@staticmethod
def _wait_for_requests(module, request_list):

    wait = module.params.get('wait')
    if wait:
        failed_requests_count = sum([request.WaitUntilComplete() for request in request_list])
        if (failed_requests_count > 0):
            module.fail_json(msg='Unable    to    process    server    request')
