cloudstack: fix other projects not found

This commit is contained in:
Rene Moser 2015-04-24 18:58:57 +02:00
parent 8574d40b98
commit 31520cdd17

View file

@ -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'] ]: