Commit f9bdfde6 by Stephen Fromm

Fixes for runner and raw module

runner should not try to create or remove tmp paths when using the raw
module.
parent eab71aae
......@@ -568,7 +568,9 @@ class Runner(object):
module_name = utils.template(self.module_name, inject)
tmp = self._make_tmp_path(conn)
tmp = ''
if self.module_name != 'raw':
tmp = self._make_tmp_path(conn)
result = None
handler = getattr(self, "_execute_%s" % self.module_name, None)
......@@ -595,7 +597,8 @@ class Runner(object):
del result.result['daisychain']
self._delete_remote_files(conn, tmp)
if self.module_name != 'raw':
self._delete_remote_files(conn, tmp)
conn.close()
if not result.comm_ok:
......
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