mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Generalize config retrieval in ios_l3_interface module (#45270)
This makes it work with Cisco 3750E.
This commit is contained in:
parent
a6c20488d3
commit
30314c15c7
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ def map_obj_to_commands(updates, module):
|
|||
|
||||
|
||||
def map_config_to_obj(module):
|
||||
config = get_config(module, flags=['| section interface'])
|
||||
config = get_config(module)
|
||||
configobj = NetworkConfig(indent=1, contents=config)
|
||||
|
||||
match = re.findall(r'^interface (\S+)', config, re.M)
|
||||
|
|
Loading…
Reference in a new issue