mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-06 13:23:06 +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:
|
||||
project_id = cloud.current_project_id
|
||||
|
||||
if project_id:
|
||||
if project_id and not remote_group:
|
||||
filters = {'tenant_id': project_id}
|
||||
else:
|
||||
filters = None
|
||||
|
||||
Reference in New Issue
Block a user