diff options
-rw-r--r-- | lib/ansible/modules/network/ios/ios_user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/network/ios/ios_user.py b/lib/ansible/modules/network/ios/ios_user.py index 2ab4c3b5b7..d3aeb83332 100644 --- a/lib/ansible/modules/network/ios/ios_user.py +++ b/lib/ansible/modules/network/ios/ios_user.py @@ -357,7 +357,7 @@ def parse_password_type(data): def map_config_to_obj(module): - data = get_config(module, flags=['| include username']) + data = get_config(module, flags=['| section username']) match = re.findall(r'(?:^(?:u|\s{2}u))sername (\S+)', data, re.M) if not match: |