1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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