From 30314c15c7b868c036346de68f01be3fc8f589ba Mon Sep 17 00:00:00 2001 From: Joachim Mathes Date: Tue, 25 Sep 2018 08:58:32 +0200 Subject: [PATCH] Generalize config retrieval in ios_l3_interface module (#45270) This makes it work with Cisco 3750E. --- lib/ansible/modules/network/ios/ios_l3_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/ios/ios_l3_interface.py b/lib/ansible/modules/network/ios/ios_l3_interface.py index 200ffec268..13855d91a5 100644 --- a/lib/ansible/modules/network/ios/ios_l3_interface.py +++ b/lib/ansible/modules/network/ios/ios_l3_interface.py @@ -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)