1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix Issue #2025 where templates were not being transfered.

This commit is contained in:
Matt Cordial 2013-02-08 12:03:54 -07:00
parent 23bffc5f25
commit 2ccfc8d2b6

View file

@ -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':