1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Set explicit type for timeout (#2809)

vmware_maintenancemode.py needs explicit type for timeout, otherwise it reads timeout as string and breaks.
This commit is contained in:
Joe Smith 2016-08-30 15:55:41 -04:00 committed by Matt Clay
parent abaf6afc0a
commit 09776a9e52

View file

@ -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'])))