Don't pass tenant_id for remote group in os_security_group_rule (#69726)

pull/69409/head
Sergey 6 years ago committed by GitHub
parent 307d86de4b
commit bc550fd935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
bugfixes:
- Fix the issue when OS secgroup rule couldn't be imported from
a different tenant https://github.com/ansible/ansible/issues/69673

@ -321,6 +321,7 @@ def main():
secgroup = cloud.get_security_group(security_group, filters=filters)
if remote_group:
filters.pop('tenant_id')
remotegroup = cloud.get_security_group(remote_group,
filters=filters)
else:

Loading…
Cancel
Save