Commit c89a0f96 by Michael DeHaan

Merge pull request #87 from skvidal/feature

if we've failed a connection to a host - we cannot set items to the
parents 56de2e11 19b784e4
...@@ -348,10 +348,10 @@ class Runner(object): ...@@ -348,10 +348,10 @@ class Runner(object):
# module, call the appropriate executor function # module, call the appropriate executor function
ok, conn = self._connect(host) ok, conn = self._connect(host)
conn._host = host
if not ok: if not ok:
return [ host, False, conn ] return [ host, False, conn ]
conn._host = host
tmp = self._get_tmp_path(conn) tmp = self._get_tmp_path(conn)
result = None result = None
if self.module_name not in [ 'copy', 'template' ]: if self.module_name not in [ 'copy', 'template' ]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment