Fixup modularized template module

This commit is contained in:
Michael DeHaan 2012-09-06 19:04:27 -04:00
parent 633e513a65
commit 8a09e1281b

View file

@ -72,7 +72,7 @@ class ActionModule(object):
xfered = self.runner._transfer_str(conn, tmp, 'source', resultant)
# run the copy module, queue the file module
self.module_args = "%s src=%s dest=%s" % (self.runner.module_args, xfered, dest)
return self._runner.execute_module(conn, tmp, 'copy', self.runner.module_args, inject=inject).daisychain('file')
self.runner.module_args = "%s src=%s dest=%s" % (self.runner.module_args, xfered, dest)
return self.runner._execute_module(conn, tmp, 'copy', self.runner.module_args, inject=inject).daisychain('file')