diff options
author | Nilashish Chakraborty <nilashishchakraborty8@gmail.com> | 2019-02-27 21:01:17 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-27 21:01:17 +0530 |
commit | d27011aaa61644d1d9b33f850905a82330c551ca (patch) | |
tree | 9bcc6d154f6f02fe82c9a778d842574ce34eb2ad | |
parent | c37f6bed1c44f7d6ef854baec4c5e04a037c048f (diff) | |
download | ansible-revert-51845-devel.tar.gz |
Revert "ios_user: include filter works just as well. (#51845)"revert-51845-devel
This reverts commit d1b2ef9c5ce13b05f820c84b841e67eb5ee1aff7.
-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: |