TLDR; Is there any way to use a salt onedir as python enviroment on the target node of salt-ssh rather than a system wide python install?
We are working on the migration to the 3005 onedir packaging for our appliance. This setup is a big win for us, as it removes the need for a python environment on the OS. We are running on AlmaLinux 8, which always has a platform-python installed, which is a stripped down version of python 3.6. Prior to onedir, we had to manage an additional full blown python 3.6 with several python modules next to this platform-python. With onedir, we can drop this python install and use salt-pip to install the modules we need directly into the salt onedir.
However, we also need to be able to make occasional salt-ssh calls between two or more installs of our appliance. These installs are identical, thus also have a salt onedir with the required python modules. It would be great if we could use this python environment on the target node to run the salt-ssh code. At the moment, the only way I could get salt-ssh working, is by installing an additional full blown python 3.9 with all the required modules on the target node. This seems rather superfluous, as all this is already installed in the salt onedir.