From ac546457c8bdda12707738dfaa843bf4d791339d Mon Sep 17 00:00:00 2001 From: Anil Kumar Muraleedharan Date: Wed, 1 May 2019 00:18:25 +0530 Subject: [PATCH] Update cnos_vrf.py --- lib/ansible/modules/network/cnos/cnos_vrf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/cnos/cnos_vrf.py b/lib/ansible/modules/network/cnos/cnos_vrf.py index 684f1d9f6f2..5196af0cabc 100644 --- a/lib/ansible/modules/network/cnos/cnos_vrf.py +++ b/lib/ansible/modules/network/cnos/cnos_vrf.py @@ -247,7 +247,7 @@ def map_config_to_obj(module): if '!' not in intName and 'Interfaces' not in intName: obj['interfaces'].append(intName.strip().lower()) objs.append(obj) - else: + else: module.fail_json(msg='Could not fetch VRF details from device') return objs