mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-08 14:23:03 +00:00
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:
@@ -335,7 +335,7 @@ def main():
|
|||||||
else:
|
else:
|
||||||
project_id = cloud.current_project_id
|
project_id = cloud.current_project_id
|
||||||
|
|
||||||
if project_id:
|
if project_id and not remote_group:
|
||||||
filters = {'tenant_id': project_id}
|
filters = {'tenant_id': project_id}
|
||||||
else:
|
else:
|
||||||
filters = None
|
filters = None
|
||||||
|
|||||||
Reference in New Issue
Block a user