mirror of https://github.com/ansible/ansible.git
Improve testing for Windows SSH and other connection plugins (#83834)
Expands the test matrix used for testing on Windows to cover the three connection plugins we support for all the tasks. This change also changes how raw commands are run over SSH to avoid starting a `powershell.exe` process that was uneeded in the majority of cases used in Ansible. This simplifies our code a bit more by removing extra Windows specific actions in the ssh plugin and improves the efficiency when running tasks.pull/83873/head
parent
db04499f58
commit
9a5a9e48fc
@ -0,0 +1,13 @@
|
||||
breaking_changes:
|
||||
- >-
|
||||
Stopped wrapping all commands sent over SSH on a Windows target with a
|
||||
``powershell.exe`` executable. This results in one less process being started
|
||||
on each command for Windows to improve efficiency, simplify the code, and
|
||||
make ``raw`` an actual raw command run with the default shell configured on
|
||||
the Windows sshd settings. This should have no affect on most tasks except
|
||||
for ``raw`` which now is not guaranteed to always be running in a PowerShell
|
||||
shell and from having the console output codepage set to UTF-8. To avoid this
|
||||
issue either swap to using ``ansible.windows.win_command``,
|
||||
``ansible.windows.win_shell``, ``ansible.windows.win_powershell`` or manually
|
||||
wrap the raw command with the shell commands needed to set the output console
|
||||
encoding.
|
@ -1,4 +1,5 @@
|
||||
shippable/windows/group1
|
||||
shippable/windows/minimal
|
||||
shippable/windows/smoketest
|
||||
needs/target/setup_remote_tmp_dir
|
||||
windows
|
||||
|
@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- setup_remote_tmp_dir
|
Loading…
Reference in New Issue