convert winrm put_file script template to Unicode string literal
Fixes traceback on homedirs with non-ascii chars
This commit is contained in:
parent
41a417be1f
commit
45355cd566
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class Connection(ConnectionBase):
|
||||||
if not os.path.exists(in_path):
|
if not os.path.exists(in_path):
|
||||||
raise AnsibleFileNotFound('file or module does not exist: "%s"' % in_path)
|
raise AnsibleFileNotFound('file or module does not exist: "%s"' % in_path)
|
||||||
|
|
||||||
script_template = '''
|
script_template = u'''
|
||||||
begin {{
|
begin {{
|
||||||
$path = "{0}"
|
$path = "{0}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue