Merge pull request #87 from skvidal/feature

if we've failed a connection to a host - we cannot set items to the
This commit is contained in:
Michael DeHaan 2012-03-09 04:19:03 -08:00
commit c89a0f96bd

View file

@ -348,10 +348,10 @@ class Runner(object):
# module, call the appropriate executor function
ok, conn = self._connect(host)
conn._host = host
if not ok:
return [ host, False, conn ]
conn._host = host
tmp = self._get_tmp_path(conn)
result = None
if self.module_name not in [ 'copy', 'template' ]: