This proposed change, add an argument to win_psmodule to make Install-Module-Force parameter optionnal.
fix #286
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
win_psmodule
ADDITIONAL INFORMATION
Using Force parameter when installing module, implies the reinstallation of all module dependency using lastest version.
Even if dependency are already filled. This increases installation time and removes the ability to manage module version at the playbook level.
SUMMARY
This proposed change, add an argument to
win_psmodule
to makeInstall-Module
-Force
parameter optionnal.fix #286
ISSUE TYPE
COMPONENT NAME
win_psmodule
ADDITIONAL INFORMATION
Using
Force
parameter when installing module, implies the reinstallation of all module dependency using lastest version. Even if dependency are already filled. This increases installation time and removes the ability to manage module version at the playbook level.Sample run with community.windows 1.12.0
Sample run with proposed change