Following on from #419, the following work item remains:
Command line building. To handle Ansible's raw action, we need to be able to turn connection configs into command lines, and run those commands, including typing any passwords and suchlike as we do already.
Lots of pieces are in place for it now. Roughly what's left:
User issue: #597
Following on from #419, the following work item remains:
Lots of pieces are in place for it now. Roughly what's left:
MITO000appears on the stream. They need to know how to feedstdinof the program with arbitrary data, and record its output in an 8-bit clean mannerConnectionwants to handle running custom commands, or it wants split up even more to handle just the 'start this stream and wait for it to disconnect' part.mitogen.ssh.run(...), returning some kind of Receiver-like object that can be waited on etc.via=. This is needed for Ansible soraw:against a machine proxied viamitogen_via=is completely transparent.Connection.exec_command()seems to be where it wants to go, but this needs some heuristic or hard rule about whenexec_command()should assume Python is installed on the remote and start a real connection, or when a raw command line should be run from the parent instead. It must always be consistentUser issue: #597