Move start menu task to client and move gpo script to setup.yml

This commit is contained in:
abrown38 committed 2024-05-24 10:58:03 +01:00
1 parent 9d0f0c3ac0
commit 5f53166089
7 files changed
+19 -18

No files matched your search

@@ -20,13 +20,18 @@
force: true
- name: Group policy script
tags: copy_script
tags: gpo_script
block:
- name: Copy Group Policy script to DC01
win_copy:
src: "{{ group_policy_script }}"
dest: "C:\\eidf"
force: true
tags: copy_script
- name: Apply group policy
win_shell: powershell C:\eidf\{{ group_policy_script }}
tags: apply_script
when: inventory_hostname in groups['meta-name_dc01']
- name: Promote DC01