1
0
Fork 0
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:
Matt Clay 2016-03-19 11:13:38 -07:00
parent e1ee2ed5a5
commit 24c4384f0e

View file

@ -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 = ''