mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add missing to_bytes for cmd.
This commit is contained in:
parent
e1ee2ed5a5
commit
24c4384f0e
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)
|
||||
|
||||
cmd = to_bytes(cmd, errors='strict')
|
||||
|
||||
no_prompt_out = ''
|
||||
no_prompt_err = ''
|
||||
become_output = ''
|
||||
|
|
Loading…
Reference in a new issue