mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-16 22:44:54 +00:00
Postpone the paramiko.Channel.get_pty until we know sudo is used. If sudo is not used, then we do not need a PTY. In fact, the paramiko docs explicitly state that it's not desirable to allocate a PTY for a simple exec_command. Signed-off-by: martin f. krafft <madduck@madduck.net> |
||
|---|---|---|
| .. | ||
| ansible | ||