diff --git a/lib/ansible/modules/network/nxos/nxos_facts.py b/lib/ansible/modules/network/nxos/nxos_facts.py index 4ecb1ba7aa..a4d41b3a2d 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