From 62ccc1b9b643196b8de36980a597c2d5d644b957 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Fri, 8 May 2015 16:41:15 +0200 Subject: [PATCH] cloudstack: fix typo in variable, fixes get_domain() --- lib/ansible/module_utils/cloudstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/cloudstack.py b/lib/ansible/module_utils/cloudstack.py index f791b403263..e887367c2fd 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -288,7 +288,7 @@ class AnsibleCloudStack: args = {} args['name'] = domain args['listall'] = True - domain = self.cs.listDomains(**args) + domains = self.cs.listDomains(**args) if domains: self.domain = domains['domain'][0] return self._get_by_key(key, self.domain)