diff options
author | Nilashish Chakraborty <nilashishchakraborty8@gmail.com> | 2019-02-28 19:43:34 +0100 |
---|---|---|
committer | Nathaniel Case <this.is@nathanielca.se> | 2019-02-28 19:43:34 +0100 |
commit | 5d8f307116a258fe8279ca33f1de08515c3e761f (patch) | |
tree | 0216df5715becd2df327e2fd9f1a958fd8f2175f | |
parent | properly convert inputs to handle bytes/unicode (#53072) (diff) | |
download | ansible-5d8f307116a258fe8279ca33f1de08515c3e761f.tar.xz ansible-5d8f307116a258fe8279ca33f1de08515c3e761f.zip |
Revert back to using section (#53069)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
-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: |