Closed Catskan closed 1 year ago
To install a package you always need to specify the path, the module can't install something if it doesn't have anything to install from. Uninstalling packages is a different story as typically the files needed to uninstall something are still on host and can be queried through just the product_id
.
So for Microsoft.GaminingServices
you need to specify the path
to the appx/appxbundle needed to install the product.
SUMMARY
I would like to install "Gaming.Services", it's a AppxPackages already in Windows 11. But, the task failed because it need the field "path". However, I use the win_packages task to uninstall some packages, and works good.
I search in the documentation to know what ansible.windows.win_package need in "Path" for embedded packages, but didn't find anything.
ISSUE TYPE
COMPONENT NAME
ansible.windows.win_package
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Debian container
STEPS TO REPRODUCE
ACTUAL RESULTS
Thanks for your advices