add ovirt_disk check mode (#53625)

pull/53633/head
Martin Nečas 6 years ago committed by ansibot
parent 48098ba688
commit b187e5a5c0

@ -689,6 +689,7 @@ def main():
ret['changed'] = ret['changed'] or downloaded
# Disk sparsify, only if disk is of image type:
if not module.check_mode:
disk = disks_service.disk_service(module.params['id']).get()
if disk.storage_type == otypes.DiskStorageType.IMAGE:
ret = disks_module.action(

Loading…
Cancel
Save