Open dry4ng opened 3 years ago
There's a check in this task to make sure a minimum version of PowerShellGet
is installed here:
I bet that one of these isn't the case:
These are requirements from https://docs.ansible.com/ansible/latest/collections/community/windows/win_psmodule_module.html
Can you check which of those requirements you meet/don't meet above? If I remember rightly, you can use Get-Module
, Get-PackageProvider
and Get-Host
to get this information.
Let me know what you find and I'll try and help you from there.
As I'm trying to run this role against freshly provisioned Google cloud image of Windows Server 2019 Core, it exits with the following error:
vars:
Ansible 2.10.6 Windows Server 2019 1909 DC Core