mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 08:43:10 +00:00
Merge pull request #10320 from bcoca/ssh_fix_notokens
skips certain ssh errors and attempts to continue
This commit is contained in:
@@ -234,6 +234,8 @@ class Connection(object):
|
||||
if line is None or " " not in line:
|
||||
continue
|
||||
tokens = line.split()
|
||||
if not tokens:
|
||||
continue
|
||||
if tokens[0].find(self.HASHED_KEY_MAGIC) == 0:
|
||||
# this is a hashed known host entry
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user