mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #15049 from mattclay/paramiko-unicode
Add missing to_bytes for cmd.
This commit is contained in:
commit
b80c9b5032
1 changed files with 2 additions and 0 deletions
|
@ -272,6 +272,8 @@ class Connection(ConnectionBase):
|
||||||
|
|
||||||
display.vvv("EXEC %s" % cmd, host=self._play_context.remote_addr)
|
display.vvv("EXEC %s" % cmd, host=self._play_context.remote_addr)
|
||||||
|
|
||||||
|
cmd = to_bytes(cmd, errors='strict')
|
||||||
|
|
||||||
no_prompt_out = ''
|
no_prompt_out = ''
|
||||||
no_prompt_err = ''
|
no_prompt_err = ''
|
||||||
become_output = ''
|
become_output = ''
|
||||||
|
|
Loading…
Reference in a new issue