From fa2366079ab371c47407e10c2212b35a1cfc9f42 Mon Sep 17 00:00:00 2001 From: Dave Thelen Date: Thu, 28 Jun 2018 03:49:43 -0400 Subject: [PATCH] Update eos_vlan.py (#41852) changing show command to work for both transport methods --- lib/ansible/modules/network/eos/eos_vlan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/eos/eos_vlan.py b/lib/ansible/modules/network/eos/eos_vlan.py index ff3f5e3dd1a..255e82f96c3 100644 --- a/lib/ansible/modules/network/eos/eos_vlan.py +++ b/lib/ansible/modules/network/eos/eos_vlan.py @@ -213,7 +213,7 @@ def map_obj_to_commands(updates, module): def map_config_to_obj(module): objs = [] - vlans = run_commands(module, ['show vlan conf | json']) + vlans = run_commands(module, ['show vlan configured-ports | json']) for vlan in vlans[0]['vlans']: obj = {}