Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
psrp: Added new Windows connection plugin #41729
Initial WIP PR that adds supports for executing commands on Windows host through PSRP. This still uses WinRM as the underlying transport but instead executes scripts in a PowerShell runspace theoretically saving time on each task invocation (still to be proven). The changes so far is the new connection plugin as well as changes to the powershell shell plugin to accomodate these changes.
referenced this pull request
Jul 20, 2018
Aug 21, 2018
1 check passed
@jborean93 The psrp connection plugin is working great here. There is one thing though, when providing
(This is related to messages from: requests.packages.urllib3, pyprsp.messages, pypsrp.powershell, pypsrp.encryption, but mostly pypsrp.wsman can be quite verbose, I would move all this to
One reason for adding
@dagwieers are you sure you don't have
Note: I could be doing something wrong in the pypsrp side but logs should only be enabled unless someone sets
I did not have ANSIBLE_DEBUG enabled, and switching to winrm connection did not show that many details. (There weren't any other messages being shown that are being shown when enabling ANSIBLE_DEBUG) I'll troubleshoot next attempt at using psrp (I had some issues with read timeouts and async).