From 6f3ac876b200532e2587bc5b036e077a0384cf38 Mon Sep 17 00:00:00 2001 From: willtome Date: Wed, 5 Dec 2018 15:44:20 -0500 Subject: [PATCH] fix regex --- parser_templates/cli/show_ip_ospf_neighbor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser_templates/cli/show_ip_ospf_neighbor.yaml b/parser_templates/cli/show_ip_ospf_neighbor.yaml index 8b40fc0..4e6cc58 100644 --- a/parser_templates/cli/show_ip_ospf_neighbor.yaml +++ b/parser_templates/cli/show_ip_ospf_neighbor.yaml @@ -65,7 +65,7 @@ when: process_state == 'active' json_template: template: - - key: "{{ item.ip }}" + - key: "{{ item.ip | trim }}" object: - key: neighbor_id value: "{{ item.neighbor | trim }}"