fatal: [windows10]: FAILED! => {“msg”: "winrm send_input failed; \nstdout: Unable to initialize device PRN\r\nUnable to initialize device PRN\r\nUnable to initialize device PRN\r\n\nstderr ANSIBALLZ_WRAPPER : The term ‘ANSIBALLZ_WRAPPER’ is not recognized as the name \r\nof a cmdlet, function, script file, or operable program.
I haven’t been able to find what this wrapper is about
This looks like the module is being run via powershell but it’s being treated as a new-style python module (which is wrapped in a python wrapper script before being executed on the remote machine). What is this win_xml module you’re trying to test? Maybe it’s not being recognized as a powershell script?
Are you able to share your test/integration/inventory.winrm file as it seems like some of the config is breaking the winrm/powershell plugins. Here is an example one that I use
I’m no expert on XML but I believe the API that was being used in the module wasn’t as fully featured as the XPath option in PowerShell and it’s little support for namespaces may cause issues down the line.
No worries, when you run the windows-integration tests it will load the inventory file I mentioned. You can’t use Python modules on Windows hosts as it will either fail with a send input error or the one you see with ANSIBALLZ.
Glad you got it working though, good luck with the testing.