diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest.py b/lib/ansible/modules/cloud/vmware/vmware_guest.py index 8d0a300747..a6f3ac5654 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest.py @@ -925,7 +925,7 @@ class PyVmomiHelper(object): return expected * 1024 * 1024 * 1024 elif unit == 'gb': return expected * 1024 * 1024 - elif unit == ' mb': + elif unit == 'mb': return expected * 1024 elif unit == 'kb': return expected