mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update eos_vlan.py (#41852)
changing show command to work for both transport methods
This commit is contained in:
parent
bd9b8b422d
commit
fa2366079a
1 changed files with 1 additions and 1 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue