updated ADMX and ADML file and copy files to correct path

This commit is contained in:
abrown38 committed 2024-05-31 11:37:29 +01:00
1 parent 36908627fe
commit 3abf25b04c
492 files changed
+9 -20

No files matched your search

@@ -1,24 +1,4 @@
---
- name: Copy Templates
tags: copy_templates
block:
- name: Remove existing Group Policy Templates
win_file:
path: "C:\\Windows\\PolicyDefinitions\\"
state: absent
- name: Copy 'admx' group policy template files to DCs
win_copy:
src: policy_templates/PolicyDefinitions/
dest: "C:\\Windows\\PolicyDefinitions\\"
force: true
- name: Copy 'adml' group policy template files to DCs
win_copy:
src: policy_templates/en-US/
dest: "C:\\Windows\\PolicyDefinitions\\en-US\\"
force: true
- name: Group policy script
tags: gpo_script
block:
@@ -104,4 +84,13 @@
reboot_timeout_sec: 1200
when: dc02_promotion.reboot_required | default(false) == true
when: inventory_hostname in groups['meta-name_dc02']
- name: Copy ADMX/ADML files
tags: copy_admx
block:
- name: Copy ADMX and ADML files to DCs
win_copy:
src: policy_templates/PolicyDefinitions/
dest: "C:\\Windows\\SYSVOL\\sysvol\\{{ win_project }}.loc\\policies\\"
force: true