From 4ffc4b6748f7f8fc2914f6e2296ff41d54434889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Fri, 16 Jun 2017 20:30:25 +0200 Subject: [PATCH] cloudstack: add missing zone name to result (#25806) --- lib/ansible/module_utils/cloudstack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index 2836aca658..78f79469ea 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -431,6 +431,7 @@ class AnsibleCloudStack(object): # use the first zone if no zone param given if not zone: self.zone = zones['zone'][0] + self.result['zone'] = self.zone['name'] return self._get_by_key(key, self.zone) if zones: