mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Modify an initial value causing exception when vlan_range param is present (#19019)
This commit is contained in:
committed by
Peter Sprygada
parent
e0e1d3b561
commit
dce8f3899e
@@ -595,7 +595,7 @@ def main():
|
||||
vlan_id or vlan_range))
|
||||
existing_vlans_list = numerical_sort(get_list_of_vlans(module))
|
||||
commands = []
|
||||
existing = None
|
||||
existing = {}
|
||||
|
||||
if vlan_range:
|
||||
if state == 'present':
|
||||
|
||||
Reference in New Issue
Block a user