From 1b0c4fde86858f363780ca5e90f297c7267a3989 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Wed, 19 Sep 2018 19:37:44 +0530 Subject: [PATCH] fix nxos_facts indefinite hang for text based output (#45845) Signed-off-by: Trishna Guha --- lib/ansible/modules/network/nxos/nxos_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/nxos/nxos_facts.py b/lib/ansible/modules/network/nxos/nxos_facts.py index 4ecb1ba7aa6..a4d41b3a2d0 100644 --- a/lib/ansible/modules/network/nxos/nxos_facts.py +++ b/lib/ansible/modules/network/nxos/nxos_facts.py @@ -630,7 +630,7 @@ class Interfaces(FactsBase): fact = dict() fact['port'] = self.parse_lldp_port(item) fact['sysname'] = self.parse_lldp_sysname(item) - facts[local_intf].append(facts) + facts[local_intf].append(fact) return facts