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:
parent
23bffc5f25
commit
2ccfc8d2b6
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue