mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
vr_server: fix assumption returned id is an int (#34765)
This commit is contained in:
@@ -163,7 +163,7 @@ vultr_server:
|
|||||||
id:
|
id:
|
||||||
description: ID of the server
|
description: ID of the server
|
||||||
returned: success
|
returned: success
|
||||||
type: int
|
type: string
|
||||||
sample: 10194376
|
sample: 10194376
|
||||||
name:
|
name:
|
||||||
description: Name (label) of the server
|
description: Name (label) of the server
|
||||||
@@ -323,7 +323,7 @@ class AnsibleVultrServer(Vultr):
|
|||||||
|
|
||||||
self.server = None
|
self.server = None
|
||||||
self.returns = {
|
self.returns = {
|
||||||
'SUBID': dict(key='id', convert_to='int'),
|
'SUBID': dict(key='id'),
|
||||||
'label': dict(key='name'),
|
'label': dict(key='name'),
|
||||||
'date_created': dict(),
|
'date_created': dict(),
|
||||||
'allowed_bandwidth_gb': dict(convert_to='int'),
|
'allowed_bandwidth_gb': dict(convert_to='int'),
|
||||||
|
|||||||
Reference in New Issue
Block a user