vr_server: fix assumption returned id is an int (#34765)

pull/34781/head
René Moser 7 years ago committed by GitHub
parent d860e13ae1
commit e3b5be0887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -163,7 +163,7 @@ vultr_server:
id:
description: ID of the server
returned: success
type: int
type: string
sample: 10194376
name:
description: Name (label) of the server
@ -323,7 +323,7 @@ class AnsibleVultrServer(Vultr):
self.server = None
self.returns = {
'SUBID': dict(key='id', convert_to='int'),
'SUBID': dict(key='id'),
'label': dict(key='name'),
'date_created': dict(),
'allowed_bandwidth_gb': dict(convert_to='int'),

Loading…
Cancel
Save