mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-08 06:13:13 +00:00
Fix logic in routers_info
The list of fixed ips on the routers info was wrong, adding only the last one instead of the all of them. Change-Id: I0bb352ea1845d25cff3aeae507aa55ba473b0a45
This commit is contained in:
@@ -179,7 +179,7 @@ class RouterInfoModule(OpenStackModule):
|
|||||||
'ip_address': ip_spec.get('ip_address'),
|
'ip_address': ip_spec.get('ip_address'),
|
||||||
'subnet_id': ip_spec.get('subnet_id')
|
'subnet_id': ip_spec.get('subnet_id')
|
||||||
}
|
}
|
||||||
interfaces_info.append(int_info)
|
interfaces_info.append(int_info)
|
||||||
router['interfaces_info'] = interfaces_info
|
router['interfaces_info'] = interfaces_info
|
||||||
|
|
||||||
self.exit(changed=False, openstack_routers=routers)
|
self.exit(changed=False, openstack_routers=routers)
|
||||||
|
|||||||
Reference in New Issue
Block a user