Fixes for runner and raw module

runner should not try to create or remove tmp paths when using the raw
module.
This commit is contained in:
Stephen Fromm 2012-08-09 21:45:00 -07:00
parent eab71aae69
commit f9bdfde614

View file

@ -568,6 +568,8 @@ class Runner(object):
module_name = utils.template(self.module_name, inject) module_name = utils.template(self.module_name, inject)
tmp = ''
if self.module_name != 'raw':
tmp = self._make_tmp_path(conn) tmp = self._make_tmp_path(conn)
result = None result = None
@ -595,6 +597,7 @@ class Runner(object):
del result.result['daisychain'] del result.result['daisychain']
if self.module_name != 'raw':
self._delete_remote_files(conn, tmp) self._delete_remote_files(conn, tmp)
conn.close() conn.close()