mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
convert winrm put_file script template to Unicode string literal
Fixes traceback on homedirs with non-ascii chars
This commit is contained in:
@@ -271,7 +271,7 @@ class Connection(ConnectionBase):
|
||||
if not os.path.exists(in_path):
|
||||
raise AnsibleFileNotFound('file or module does not exist: "%s"' % in_path)
|
||||
|
||||
script_template = '''
|
||||
script_template = u'''
|
||||
begin {{
|
||||
$path = "{0}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user