-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathmain.yml
128 lines (107 loc) · 3.46 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
---
- name: Windows Playbook
hosts: all
vars_files:
- default.config.yml
pre_tasks:
- name: Include playbook user configuration.
ansible.builtin.include_vars: "{{ item }}"
with_fileglob:
- "{{ playbook_dir }}/config.yml"
tags: ["always"]
tasks:
- name: Include hostname configuration.
ansible.builtin.import_tasks:
file: tasks/hostname.yml
when: configure_hostname
tags: ["hostname"]
- name: Include windows updates configuration.
ansible.builtin.import_tasks:
file: tasks/updates.yml
when: install_windows_updates
tags: ["updates"]
- name: Include debloat configuration.
ansible.builtin.import_tasks:
file: tasks/debloat.yml
when: remove_bloatware
tags: ["debloat"]
- name: Include chocolatey configuration.
ansible.builtin.import_tasks:
file: tasks/chocolatey.yml
when: install_chocolatey_packages
tags: ["choco"]
- name: Include winget configuration.
ansible.builtin.import_tasks:
file: tasks/winget.yml
when: install_winget_packages
tags: ["winget"]
- name: Include windows features configuration.
ansible.builtin.import_tasks:
file: tasks/windows_features.yml
when: install_windows_features
tags: ["windows_features"]
- name: Include wsl2 configuration.
ansible.builtin.import_tasks:
file: tasks/wsl2.yml
when: install_wsl2
tags: ["wsl"]
- name: Include fonts configuration.
ansible.builtin.import_tasks:
file: tasks/fonts.yml
when: install_fonts
tags: ["fonts"]
- name: Include ohmyposh configuration.
ansible.builtin.import_tasks:
file: tasks/ohmyposh.yml
when: install_ohmyposh
tags: ["ohmyposh"]
- name: Include explorer configuration.
ansible.builtin.import_tasks:
file: tasks/explorer.yml
when: configure_explorer
tags: ["explorer"]
- name: Include taskbar configuration.
ansible.builtin.import_tasks:
file: tasks/taskbar.yml
when: configure_taskbar
tags: ["taskbar"]
- name: Include start menu configuration.
ansible.builtin.import_tasks:
file: tasks/start_menu.yml
when: configure_start_menu
tags: ["start_menu"]
- name: Include sounds configuration.
ansible.builtin.import_tasks:
file: tasks/sounds.yml
when: set_sound_scheme
tags: ["sounds"]
- name: Include mouse configuration.
ansible.builtin.import_tasks:
file: tasks/mouse.yml
when: disable_mouse_acceleration
tags: ["mouse"]
- name: Include power plan configuration.
ansible.builtin.import_tasks:
file: tasks/power_plan.yml
when: change_power_plan
tags: ["power"]
- name: Include remote desktop configuration.
ansible.builtin.import_tasks:
file: tasks/remote_desktop.yml
when: remote_desktop_enabled
tags: ["remote_desktop"]
- name: Include desktop configuration.
ansible.builtin.import_tasks:
file: tasks/desktop.yml
when: remove_desktop_icons
tags: ["desktop"]
- name: Include storage sense configuration.
ansible.builtin.import_tasks:
file: tasks/storage.yml
when: configure_storage_sense
tags: ["storage_sense"]
- name: Include defrag configuration.
ansible.builtin.import_tasks:
file: tasks/defrag.yml
when: defrag_volumes
tags: ["defrag"]