diff --git a/lib/ansible/modules/network/vyos/vyos_facts.py b/lib/ansible/modules/network/vyos/vyos_facts.py index dafe02c21b8..e414aefd59b 100644 --- a/lib/ansible/modules/network/vyos/vyos_facts.py +++ b/lib/ansible/modules/network/vyos/vyos_facts.py @@ -210,6 +210,8 @@ class Neighbors(FactsBase): if values: parsed.append(values) values = line + if values: + parsed.append(values) return parsed def parse_neighbors(self, data):