diff --git a/lib/ansible/modules/extras/cloud/vmware/vmware_maintenancemode.py b/lib/ansible/modules/extras/cloud/vmware/vmware_maintenancemode.py index 0af69e38057..84d774ec765 100644 --- a/lib/ansible/modules/extras/cloud/vmware/vmware_maintenancemode.py +++ b/lib/ansible/modules/extras/cloud/vmware/vmware_maintenancemode.py @@ -178,7 +178,7 @@ def main(): 'evacuateAllData', 'noAction']), evacuate=dict(required=False, type='bool', default=False), - timeout=dict(required=False, default=0), + timeout=dict(required=False, default=0, type='int'), state=dict(required=False, default='present', choices=['present', 'absent'])))