cloudstack: fix other projects not found
This commit is contained in:
parent
8574d40b98
commit
31520cdd17
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class AnsibleCloudStack:
|
||||||
if not project:
|
if not project:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
projects = self.cs.listProjects()
|
projects = self.cs.listProjects(listall=True)
|
||||||
if projects:
|
if projects:
|
||||||
for p in projects['project']:
|
for p in projects['project']:
|
||||||
if project in [ p['name'], p['displaytext'], p['id'] ]:
|
if project in [ p['name'], p['displaytext'], p['id'] ]:
|
||||||
|
|
Loading…
Reference in a new issue