Skip to content

Commit

Permalink
Narrow debug to required features
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed Oct 18, 2024
1 parent 210c0bf commit abcea33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/capi/ansible/windows/roles/systemprep/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,10 @@
state: present
register: win_feature

- name: Get info for all installed features
- name: Get info for required Windows features
community.windows.win_feature_info:
name: "{{ item }}"
loop: "{{ win_feature.results | map(attribute='name') | list }}"
register: win_feature_info

- debug:
Expand Down

0 comments on commit abcea33

Please sign in to comment.