From b9aa8f07bebcdb7a448154a7c773ef173ab3c73f Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 23 Feb 2015 05:17:41 -0500 Subject: [PATCH] skips certain ssh errors and attempts to continue should fix #10225 --- lib/ansible/runner/connection_plugins/ssh.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/runner/connection_plugins/ssh.py b/lib/ansible/runner/connection_plugins/ssh.py index 0ab4d0b859e..183ff1be7d2 100644 --- a/lib/ansible/runner/connection_plugins/ssh.py +++ b/lib/ansible/runner/connection_plugins/ssh.py @@ -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: