1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-22 05:09:12 +00:00
community.general/changelogs/fragments
patchback[bot] 5b571fd53f
[PR #11308/4b67afc2 backport][stable-12] Add option for wsl_shell_type, protect wsl.exe arguments if SSH shell is Powershell (#11433)
Add option for wsl_shell_type, protect wsl.exe arguments if SSH shell is Powershell (#11308)

* feat(wsl): add option for wsl_shell_type, protect wsl arguments if SSH shell is Powershell

* docs(wsl): add changelog fragment

* docs(wsl): fix changelog fragment syntax, add issue link



* feat(wsl): improve new option documentation



* refactor(wsl): put integrasion test flag into a variable for convenience

* feat(wsl): rename option to wsl_remote_ssh_shell_type

* feat(wsl): escape "%" if shell is cmd, raise AnsibleError if powershell

* test(wsl): fix unit tests for wsl

- remove redundant check - moved to a separate function
- fix check for cmd escaping of "%"
- fix formatting / whitespace

* test(wsl): fix expected error message

* test(wsl): fix test - position of stop-parsing token changed



---------


(cherry picked from commit 4b67afc2b0)

Co-authored-by: fizmat <fizmat.r66@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-01-16 21:26:29 +01:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
11301-idrac-info-multi-manager.yml [PR #11301/13035e2a backport][stable-12] Add support for multiple managers to get_manager_attributes command in idrac_redfish_info module (#11375) 2026-01-02 19:29:33 +01:00
11308-wsl-shell-type.yml [PR #11308/4b67afc2 backport][stable-12] Add option for wsl_shell_type, protect wsl.exe arguments if SSH shell is Powershell (#11433) 2026-01-16 21:26:29 +01:00
11340-cronvar-simplify-exc.yml [PR #11340/a0d3bac8 backport][stable-12] cronvar: simplify exception raise - remove import sys (#11348) 2025-12-30 16:20:46 +01:00
11341-pyupgrade-1.yml [PR #11341/5b5f7e9e backport][stable-12] batch 1 - update Python idiom to 3.7 using pyupgrade (#11349) 2025-12-30 16:47:11 +01:00
11343-pyupgrade-3.yml [PR #11343/e8f2b135 backport][stable-12] batch 3 - update Python idiom to 3.7 using pyupgrade (#11352) 2025-12-30 22:43:24 +01:00
11344-pyupgrade-4.yml [PR #11344/543329ce backport][stable-12] batch 4 - update Python idiom to 3.7 using pyupgrade (#11350) 2025-12-30 16:31:29 +01:00
11346-incus-readability.yml [PR #11346/61d794f1 backport][stable-12] incus conn plugin: improve readability (was ruff: set target-python 3.7) (#11353) 2025-12-31 08:40:42 +01:00
11347-incus-regex.yml [PR #11347/e790b950 backport][stable-12] incus connection: fix regex (#11415) 2026-01-09 21:22:29 +01:00
11376-netcup-dns-diff-mode.yml [PR #11376/75234597 backport][stable-12] Support diff mode for netcup-dns module (#11378) 2026-01-05 18:58:17 +01:00
11377-cloudflare_dns-caa.yml [PR #11377/c00fb4fb backport][stable-12] cloudflare_dns: also allow 128 as a value for flag (#11383) 2026-01-05 18:57:22 +01:00
11388-pmem-redundant-regexps.yml [PR #11388/defd1560 backport][stable-12] pmem: remove redundant use of regexp (#11398) 2026-01-07 20:50:56 +01:00
11390-slackpkg-query.yml [PR #11390/996b7469 backport][stable-12] slackpkg: simplify function query_package() (#11395) 2026-01-06 18:46:27 +01:00
11391-ruff-cases-11.yml [PR #11391/b67c94fc backport][stable-12] fix ruff cases UP024,UP041 (#11394) 2026-01-06 18:18:08 +01:00
11396-in-def-imports.yml [PR #11396/c8356981 backport][stable-12] move imports from functions to the top of the file (#11399) 2026-01-07 21:27:49 +01:00