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 = {}