refactor: use nicer name for features
This commit is contained in:
parent
c83270b9c4
commit
fd75bd8dda
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
# tasks file for windows-features
|
# tasks file for windows-features
|
||||||
- name: Install Wanted Windows Features
|
- name: Install Desired Windows Features
|
||||||
ansible.windows.win_feature:
|
ansible.windows.win_feature:
|
||||||
name: "{{ desired_features }}"
|
name: "{{ desired_features }}"
|
||||||
state: present
|
state: present
|
||||||
include_management_tools: true
|
include_management_tools: true
|
||||||
register: installed_features
|
register: installed_features
|
||||||
|
|
||||||
- name: Remove Unwanted Windows Features
|
- name: Remove Undesired Windows Features
|
||||||
ansible.windows.win_feature:
|
ansible.windows.win_feature:
|
||||||
name: "{{ undesired_features }}"
|
name: "{{ undesired_features }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
Loading…
Reference in New Issue
Block a user