From 09776a9e52600be47032481bd7f4f8c6525fded0 Mon Sep 17 00:00:00 2001 From: Joe Smith Date: Tue, 30 Aug 2016 15:55:41 -0400 Subject: [PATCH] Set explicit type for timeout (#2809) vmware_maintenancemode.py needs explicit type for timeout, otherwise it reads timeout as string and breaks. --- .../modules/extras/cloud/vmware/vmware_maintenancemode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])))