mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 22:31:25 -07:00
Add support for Windows hosts in the SSH connection plugin (#47732)
* Add support for Windows hosts in the SSH connection plugin * fix Python 2.6 unit test and sanity issues * fix up connection tests in CI, disable SCP for now * ensure we don't pollute the existing environment during the test * Add connection_windows_ssh to classifier * use test dir for inventory file * Required powershell as default shell and fix tests * Remove exlicit become_methods on connection * clarify console encoding comment * ignore recent SCP errors in integration tests * Add cmd shell type and added more tests * Fix some doc issues * revises windows faq * add anchors for windows links * revises windows setup page * Update changelogs/fragments/windows-ssh.yaml Co-Authored-By: jborean93 <jborean93@gmail.com>
This commit is contained in:
parent
cdf475e830
commit
8ef2e6da05
24 changed files with 657 additions and 143 deletions
|
@ -474,6 +474,11 @@ class PathMapper(object):
|
|||
if integration_name not in self.integration_targets_by_name:
|
||||
integration_name = None
|
||||
|
||||
windows_integration_name = 'connection_windows_%s' % name
|
||||
|
||||
if windows_integration_name not in self.integration_targets_by_name:
|
||||
windows_integration_name = None
|
||||
|
||||
# entire integration test commands depend on these connection plugins
|
||||
|
||||
if name in ['winrm', 'psrp']:
|
||||
|
@ -506,6 +511,7 @@ class PathMapper(object):
|
|||
|
||||
return {
|
||||
'integration': integration_name,
|
||||
'windows-integration': windows_integration_name,
|
||||
'units': units_path,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue