diff --git a/lib/ansible/modules/network/ios/ios_facts.py b/lib/ansible/modules/network/ios/ios_facts.py index f692d6fa11..f1e5b4ad4c 100644 --- a/lib/ansible/modules/network/ios/ios_facts.py +++ b/lib/ansible/modules/network/ios/ios_facts.py @@ -288,7 +288,7 @@ class Interfaces(FactsBase): data = self.responses[2] if data: - neighbors = self.run('show lldp neighbors detail') + neighbors = self.run(['show lldp neighbors detail']) if neighbors: self.facts['neighbors'] = self.parse_neighbors(neighbors[0])