From 2436aa1a4e6c55a61cb0ee2befbcab6fce0a7123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20GIBAUD?= Date: Fri, 9 Nov 2018 07:48:08 +0100 Subject: [PATCH] vultr_server_facts: fix gather facts fails when firewall is enabled on a VM (#48342) --- lib/ansible/modules/cloud/vultr/vultr_server_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vultr/vultr_server_facts.py b/lib/ansible/modules/cloud/vultr/vultr_server_facts.py index b37617a7d04..2495e1e4ad6 100644 --- a/lib/ansible/modules/cloud/vultr/vultr_server_facts.py +++ b/lib/ansible/modules/cloud/vultr/vultr_server_facts.py @@ -114,7 +114,7 @@ class AnsibleVultrServerFacts(Vultr): self.returns = { "APPID": dict(key='application', convert_to='int', transform=self._get_application_name), - "FIREWALLGROUPID": dict(key='firewallgroup', convert_to='int', transform=self._get_firewallgroup_name), + "FIREWALLGROUPID": dict(key='firewallgroup', transform=self._get_firewallgroup_name), "SUBID": dict(key='id', convert_to='int'), "VPSPLANID": dict(key='plan', convert_to='int', transform=self._get_plan_name), "allowed_bandwidth_gb": dict(convert_to='int'),