Why win_chocolatey module fails to install packages with error "Unhandled exception while executing module: Method invocation failed"
Issue
- win_chocolatey module fails to install packages with error
"msg": "Unhandled exception while executing module: Method invocation failed because [System.Collections.Generic.List1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]] does not contain a method named 'new'."
Environment
- Red Hat® Ansible Automation Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.