From 31520cdd178246f94921ba9d9866abf23b28e252 Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Fri, 24 Apr 2015 18:58:57 +0200 Subject: [PATCH] cloudstack: fix other projects not found --- 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 2c891434bde..627ef9655e2 100644 --- a/lib/ansible/module_utils/cloudstack.py +++ b/lib/ansible/module_utils/cloudstack.py @@ -77,7 +77,7 @@ class AnsibleCloudStack: if not project: return None - projects = self.cs.listProjects() + projects = self.cs.listProjects(listall=True) if projects: for p in projects['project']: if project in [ p['name'], p['displaytext'], p['id'] ]: