mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
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
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 11301-idrac-info-multi-manager.yml | ||
| 11308-wsl-shell-type.yml | ||
| 11340-cronvar-simplify-exc.yml | ||
| 11341-pyupgrade-1.yml | ||
| 11343-pyupgrade-3.yml | ||
| 11344-pyupgrade-4.yml | ||
| 11346-incus-readability.yml | ||
| 11347-incus-regex.yml | ||
| 11376-netcup-dns-diff-mode.yml | ||
| 11377-cloudflare_dns-caa.yml | ||
| 11388-pmem-redundant-regexps.yml | ||
| 11390-slackpkg-query.yml | ||
| 11391-ruff-cases-11.yml | ||
| 11396-in-def-imports.yml | ||