mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
flag added foy vyos_interface module (#57124)
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
This commit is contained in:
@@ -227,7 +227,7 @@ def map_obj_to_commands(updates):
|
||||
|
||||
|
||||
def map_config_to_obj(module):
|
||||
data = get_config(module)
|
||||
data = get_config(module, flags=['| grep interface'])
|
||||
obj = []
|
||||
for line in data.split('\n'):
|
||||
if line.startswith('set interfaces ethernet'):
|
||||
|
||||
Reference in New Issue
Block a user