mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 03:28:57 +00:00
[PR #12163/f9d4f0ad backport][stable-13] Fix incus Windows modules with ansible-core 2.21 (#12179)
Fix incus Windows modules with ansible-core 2.21 (#12163)
* Fix incus Windows modules with ansible-core 2.21
* strip wrapper quotes for payload flags (-enc, -encodedcommand, -command, -c, -file, -f) before incus exec argv handoff, added changelogs
* Fixed some edge cases for powershell parsing
* Fixed changelogs
* Fixed pep8 format
* Added warning message when modifying direct commands
* Fixed changelogs fragement
(cherry picked from commit f9d4f0ad6b)
Co-authored-by: Simon Bouchard <simon.bouchard23@gmail.com>
This commit is contained in:
parent
1642519493
commit
06f2bf2aee
3 changed files with 186 additions and 11 deletions
|
|
@ -0,0 +1,3 @@
|
|||
bugfixes:
|
||||
- "incus connection plugin - improve Windows PowerShell argv handling by stripping wrapper quotes from payload arguments for ``-enc``, ``-encodedcommand``, ``-command``, ``-c``, ``-file`` and ``-f`` (https://github.com/ansible-collections/community.general/issues/12161, https://github.com/ansible-collections/community.general/pull/12158)."
|
||||
- "incus connection plugin - return ``stdout``/``stderr`` as bytes instead of strings to restore compatibility with ansible-core 2.21 module execution (https://github.com/ansible-collections/community.general/issues/12161, https://github.com/ansible-collections/community.general/pull/12158)."
|
||||
Loading…
Add table
Add a link
Reference in a new issue