-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpolicies.yml
32 lines (27 loc) · 933 Bytes
/
policies.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
---
- name: Apply Privacy Policies
vars:
apply_src_policy: ../res/policies/privacy.txt
include_tasks: util/apply-policies.yml
- name: Block 'Use this account everywhere on your device'
# https://docs.microsoft.com/en-us/azure/active-directory/devices/hybrid-azuread-join-plan#review-things-you-should-know
win_regedit:
path: HKLM:\Software\Policies\Microsoft\Windows\WorkplaceJoin
name: BlockAADWorkplaceJoin
data: "1"
type: dword
- name: Apply Security Policies
vars:
apply_src_policy: ../res/policies/security.txt
include_tasks: util/apply-policies.yml
- name: Apply Update Policies
vars:
apply_src_policy: ../res/policies/updates.txt
include_tasks: util/apply-policies.yml
- name: Apply Hardcore Policies
when: hardcore_mode
vars:
apply_src_policy: ../res/policies/hardcore.txt
include_tasks: util/apply-policies.yml
- name: Refresh policies
win_shell: gpupdate /force