mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 14:01:42 -07:00
fix: print put command
This commit is contained in:
parent
894c28fa28
commit
b2583960c0
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ class Connection(ConnectionBase):
|
||||||
f"{self.get_option('remote')}:{self._host()}/{out_path}"
|
f"{self.get_option('remote')}:{self._host()}/{out_path}"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
self._display.vvvvv(f"PUT COMMAND {local_cmd}", host=self._host())
|
||||||
|
|
||||||
local_cmd = [to_bytes(i, errors='surrogate_or_strict') for i in local_cmd]
|
local_cmd = [to_bytes(i, errors='surrogate_or_strict') for i in local_cmd]
|
||||||
|
|
||||||
process = Popen(local_cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
|
process = Popen(local_cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue