diff --git a/lib/ansible/module_utils/eos.py b/lib/ansible/module_utils/eos.py index 9d58159c75..00051d46c8 100644 --- a/lib/ansible/module_utils/eos.py +++ b/lib/ansible/module_utils/eos.py @@ -176,7 +176,7 @@ class Cli: rc = 0 for command in to_list(commands): if command == 'end': - pass + continue if command.startswith('banner') or multiline: multiline = True