From 8a563047e699790f709786adb76e33e6fc3a1e59 Mon Sep 17 00:00:00 2001 From: Gabriele Date: Mon, 20 Mar 2017 06:54:15 -0700 Subject: [PATCH] Fixing nxos_facts (#22783) --- lib/ansible/modules/network/nxos/nxos_facts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/network/nxos/nxos_facts.py b/lib/ansible/modules/network/nxos/nxos_facts.py index ee979117834..bfd624c4fdb 100644 --- a/lib/ansible/modules/network/nxos/nxos_facts.py +++ b/lib/ansible/modules/network/nxos/nxos_facts.py @@ -292,11 +292,11 @@ class Interfaces(FactsBase): data = self.run('show ipv6 inteface', 'json') if data: - self.parse_ipv6_interfaces(out) + self.parse_ipv6_interfaces(data) - data = self.run('show lldp neighbors') + data = self.run('show lldp neighbors', 'json') if data: - self.facts['neighbors'] = self.populate_neighbors(out) + self.facts['neighbors'] = self.populate_neighbors(data) def populate_interfaces(self, data): interfaces = dict()