Fix ios_linkagg issue CP in 2.5 (#42663)

* Fixed regex to pick correct items (#42557)

(cherry picked from commit fa624eba29)

* Added changelog for ios_linkagg fix
pull/43174/head
Nilashish Chakraborty 6 years ago committed by Matt Davis
parent 67859c3476
commit 3a481c4548

@ -0,0 +1,2 @@
- bugfixes:
- ios_linkagg - fix picking correct interface names issue (https://github.com/ansible/ansible/pull/42557)

@ -227,7 +227,7 @@ def parse_members(module, config, group):
def get_channel(module, config, group):
match = re.findall(r'interface (\S+)', config, re.M)
match = re.findall(r'^interface (\S+)', config, re.M)
if not match:
return {}

Loading…
Cancel
Save