From c075126ebd3e74fb690090d2e7d8ffbbd27976bf Mon Sep 17 00:00:00 2001 From: Arx Cruz Date: Tue, 5 Apr 2022 15:25:13 +0200 Subject: [PATCH] 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 --- plugins/modules/routers_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/routers_info.py b/plugins/modules/routers_info.py index 0f25cd02..990eef8d 100644 --- a/plugins/modules/routers_info.py +++ b/plugins/modules/routers_info.py @@ -179,7 +179,7 @@ class RouterInfoModule(OpenStackModule): 'ip_address': ip_spec.get('ip_address'), 'subnet_id': ip_spec.get('subnet_id') } - interfaces_info.append(int_info) + interfaces_info.append(int_info) router['interfaces_info'] = interfaces_info self.exit(changed=False, openstack_routers=routers)