community.windows.win_feature_info – Gather information about Windows features¶
This plugin is part of the community.windows collection (version 1.6.0).
To install it use:
ansible-galaxy collection install community.windows.
To use it in a playbook, specify:
New in version 1.4.0: of community.windows
The official documentation on the ansible.windows.win_feature module.
- name: Get info for all installed features community.windows.win_feature_info: register: feature_info - name: Get info for a single feature community.windows.win_feature_info: name: DNS register: feature_info - name: Find all features that start with 'FS' ansible.windows.win_feature_info: name: FS*
Common return values are documented here, the following are the fields unique to this module: