Don't pass tenant_id for remote group
When security group is from different project, don't pass tenant Fixes https://github.com/ansible/ansible/issues/69673 Change-Id: I230c41d1ace179390744287102fead5ddf420157
This commit is contained in:
parent
ad7d6ea668
commit
8e2e5966b7
@ -335,7 +335,7 @@ def main():
|
||||
else:
|
||||
project_id = cloud.current_project_id
|
||||
|
||||
if project_id:
|
||||
if project_id and not remote_group:
|
||||
filters = {'tenant_id': project_id}
|
||||
else:
|
||||
filters = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user