diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_disk.py b/lib/ansible/modules/cloud/ovirt/ovirt_disk.py index 246f650c21a..34e968d217e 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_disk.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_disk.py @@ -401,7 +401,7 @@ def transfer(connection, module, direction, transfer_func): raise Exception( "Error occurred while uploading image. The transfer is in %s" % transfer.phase ) - if module.params.get('logical_unit'): + if not module.params.get('logical_unit'): disks_service = connection.system_service().disks_service() wait( service=disks_service.service(module.params['id']),