Fix Issue #2025 where templates were not being transfered.

pull/2030/head
Matt Cordial 12 years ago
parent 23bffc5f25
commit 2ccfc8d2b6

@ -92,7 +92,7 @@ class ActionModule(object):
else:
raise Exception("unknown encoding, failed: %s" % dest_result.result)
xfered = self.runner._transfer_str(conn, tmp, source, resultant)
xfered = self.runner._transfer_str(conn, tmp, 'source', resultant)
# fix file permissions when the copy is done as a different user
if self.runner.sudo and self.runner.sudo_user != 'root':

Loading…
Cancel
Save