-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compared to the Vanilla Ansible, Mitogen calls `sshwrapper.py` differently. This imply a different parsing to extract the options, host and command. Moreover, Mitogen does not passes the `remote_user` therefore we must set as well `BASTION_ANSIBLE_REMOTE_USER` env var. Apart from setting the `BASTION_ANSIBLE_REMOTE_USER` the wrapper works for both vanilla and mitogen connection. Users should refer to mitogen to learn about the installation process. The following commit has been tested with: * Test case #1 * Mitogen 0.3.7 * Ansible 210.8 * Python 3.9.2 * Debian 11.9 * Test case #2 * Mitogen 0.3.7 * Ansible 2.16.6 * Python 3.12 Signed-off-by: Wilfried Roset <[email protected]>
- Loading branch information
1 parent
ac65f1b
commit 0364e20
Showing
3 changed files
with
236 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters