From c989b62eefd58c33bd8d620c7bce1ebfa9766c7c Mon Sep 17 00:00:00 2001 From: Sumit Jaiswal Date: Wed, 20 Jun 2018 21:32:54 +0530 Subject: [PATCH] To fix eos_vrf failure when transport method is eapi (#41470) * resolve bug 40930 * resolve bug 40930 * to fix review comments * to fix review comments * reverting the changes based on review --- lib/ansible/modules/network/eos/eos_vrf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/eos/eos_vrf.py b/lib/ansible/modules/network/eos/eos_vrf.py index c773355c3a..d8c4da85bd 100644 --- a/lib/ansible/modules/network/eos/eos_vrf.py +++ b/lib/ansible/modules/network/eos/eos_vrf.py @@ -189,7 +189,7 @@ def map_obj_to_commands(updates, module): def map_config_to_obj(module): objs = [] - output = run_commands(module, ['show vrf']) + output = run_commands(module, {'command': 'show vrf', 'output': 'text'}) lines = output[0].strip().splitlines()[3:]