ios_user: include filter works just as well. (#51845)

This commit is contained in:
Geraint Jones 2019-02-09 04:00:39 +13:00 committed by Nathaniel Case
parent 1fdceac37e
commit d1b2ef9c5c

View file

@ -357,7 +357,7 @@ def parse_password_type(data):
def map_config_to_obj(module): def map_config_to_obj(module):
data = get_config(module, flags=['| section username']) data = get_config(module, flags=['| include username'])
match = re.findall(r'(?:^(?:u|\s{2}u))sername (\S+)', data, re.M) match = re.findall(r'(?:^(?:u|\s{2}u))sername (\S+)', data, re.M)
if not match: if not match: