mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
update the _ios_template module to use the network_cli plugin (#19933)
* updates the deprecated ios_template module to use network_cli * adds unit test cases for ios_template * adds check for provider argument and displays warning message
This commit is contained in:
parent
cd02d0ca1d
commit
cba66dfedc
8 changed files with 256 additions and 52 deletions
|
@ -244,11 +244,11 @@ class NetworkConfig(object):
|
|||
|
||||
for item in updates:
|
||||
for p in item._parents:
|
||||
if p not in visited:
|
||||
visited.add(p)
|
||||
if p.line not in visited:
|
||||
visited.add(p.line)
|
||||
expanded.append(p)
|
||||
expanded.append(item)
|
||||
visited.add(item)
|
||||
visited.add(item.line)
|
||||
|
||||
return expanded
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue