From e3b5be08878b0a10c194834a4a9f6f45be84dca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Fri, 12 Jan 2018 07:30:37 +0100 Subject: [PATCH] vr_server: fix assumption returned id is an int (#34765) --- lib/ansible/modules/cloud/vultr/vr_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/vultr/vr_server.py b/lib/ansible/modules/cloud/vultr/vr_server.py index 3fc0d93cc0..7332c20243 100644 --- a/lib/ansible/modules/cloud/vultr/vr_server.py +++ b/lib/ansible/modules/cloud/vultr/vr_server.py @@ -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'),