mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07: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:
|
else:
|
||||||
raise Exception("unknown encoding, failed: %s" % dest_result.result)
|
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
|
# fix file permissions when the copy is done as a different user
|
||||||
if self.runner.sudo and self.runner.sudo_user != 'root':
|
if self.runner.sudo and self.runner.sudo_user != 'root':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue