convert winrm put_file script template to Unicode string literal

Fixes traceback on homedirs with non-ascii chars
pull/13764/head
nitzmahone 9 years ago
parent 41a417be1f
commit 45355cd566

@ -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}"

Loading…
Cancel
Save