There have been some changes in the latest version(s?) of chocolatey that break the win_chocolatey module:
-
It now prompts for confirmation of install/uninstall,
-
The output is different.
I have some local hacks to win_chocolatey.ps1 that make it work again, but probably not good enough for a PR as I just change things globally without checking for the chocolatey version:
- Add a ‘-y’ flag to the install/uninstall commands invocations,
- Check for the “was successful” string instead of “has finished successfully” in the output (didn’t check what change was needed for uninstall). Could probably use the chocolatey exit code instead here.