Fix failing windows modules with community.vmware.vmware_tools module on ansible-core 2.21.1#2554
Fix failing windows modules with community.vmware.vmware_tools module on ansible-core 2.21.1#2554chschenk wants to merge 2 commits into
Conversation
|
|
Build succeeded. ✔️ ansible-tox-linters SUCCESS in 5m 07s |
|
Sorry, I thought I've already answered. Either I've started and didn't sent the comment, or I did and something went wrong.
Maybe something like You might have to create the Out of curiosity, do you run into the same issue with ansible-core 2.21.0? I would be really surprised if the module works there and just started to fail with 2.21.1. |



SUMMARY
Currently the
community.vmware.vmware_toolsconnection plugin does not work on windows targets withansible-core 2.21.1. The underlying issues are the same as described here: ansible-collections/community.general#12161exec_commandfunction should be of type bytes and not str.-EncodedCommandand-EncodedArgumentsmust not be quoted otherwise powershell refuses to parse these parameters.ISSUE TYPE
COMPONENT NAME
community.vmware.vmware_tools