diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:18:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-05 16:18:34 +0000 |
commit | 3667197efb7b18ec842efd504785965911f8ac4b (patch) | |
tree | 0b986a4bc6879d080b100666a97cdabbc9ca1f28 /ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py | |
parent | Adding upstream version 9.5.1+dfsg. (diff) | |
download | ansible-3667197efb7b18ec842efd504785965911f8ac4b.tar.xz ansible-3667197efb7b18ec842efd504785965911f8ac4b.zip |
Adding upstream version 10.0.0+dfsg.upstream/10.0.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py')
-rw-r--r-- | ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py b/ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py index e8aa46d9b..6bb4d8a89 100644 --- a/ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py +++ b/ansible_collections/community/ciscosmb/plugins/terminal/ciscosmb.py @@ -80,9 +80,6 @@ class TerminalModule(TerminalBase): ) def on_become(self, passwd=None): - if self._get_prompt().endswith(b"#"): - return - cmd = {u"command": u"enable"} if passwd: # Note: python-3.5 cannot combine u"" and r"" together. Thus make |