You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get-Windowsfeature accepts a string array as input, but the win_feature_info module defines the name parameter type as str. This means that when I want to find multiple features, I either have to use the default wildcard or call the module multiple times. This is a limitation of the module, but is supported by the underlying command.
ISSUE TYPE
Feature Idea
COMPONENT NAME
community.windows.win_feature_info
ADDITIONAL INFORMATION
- name: Get installed Windows featurescommunity.windows.win_feature_info:
name:
- Hyper-V
- IIS
- AD-Certificate
- WINS
This will only lookup the mentioned Windows features, without the performance overhead of a wildcard search
One other thing of note, I think the 'exists' output is a bit misleading in case of multiple roles where some are present and some are not (this is already an issue in the current module when using a wildcard). Should this be reimplemented?
The text was updated successfully, but these errors were encountered:
SUMMARY
Get-Windowsfeature accepts a string array as input, but the win_feature_info module defines the name parameter type as str. This means that when I want to find multiple features, I either have to use the default wildcard or call the module multiple times. This is a limitation of the module, but is supported by the underlying command.
ISSUE TYPE
COMPONENT NAME
community.windows.win_feature_info
ADDITIONAL INFORMATION
This will only lookup the mentioned Windows features, without the performance overhead of a wildcard search
One other thing of note, I think the 'exists' output is a bit misleading in case of multiple roles where some are present and some are not (this is already an issue in the current module when using a wildcard). Should this be reimplemented?
The text was updated successfully, but these errors were encountered: