mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:37:21 +00:00
Move ADMX task to start. copy failed after promotion, files were open
This commit is contained in:
1 parent
b87daf4765
commit
335f9ad923
1 file changed
+9
-10
@@ -1,4 +1,13 @@
|
||||
---
|
||||
- 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
|
||||
|
||||
- name: Promote DC01
|
||||
tags: promote_dc01
|
||||
block:
|
||||
@@ -111,13 +120,3 @@
|
||||
win_shell: powershell C:\eidf\{{ server_hardening_script }}
|
||||
tags: apply_hardening_scripts
|
||||
when: inventory_hostname in groups['meta-name_dc01']
|
||||
|
||||
- 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
|
||||
|
||||
Reference in new issue
Block a user