mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-27 22:07:22 +00:00
copy start menu file and run gpupdate
This commit is contained in:
1 parent
c6d0d0ce0b
commit
7368049c03
1 file changed
+20
@@ -9,3 +9,23 @@
|
|||||||
force: true
|
force: true
|
||||||
tags: workbench_startmenu
|
tags: workbench_startmenu
|
||||||
when: inventory_hostname in groups['meta-variant_workbench']
|
when: inventory_hostname in groups['meta-variant_workbench']
|
||||||
|
|
||||||
|
- name: Copy start menu XML to client VMs
|
||||||
|
win_copy:
|
||||||
|
src: "application.xml"
|
||||||
|
dest: "C:\\eidf\\start_menu.xml"
|
||||||
|
force: true
|
||||||
|
tags: application_startmenu
|
||||||
|
when: inventory_hostname in groups['meta-variant_application']
|
||||||
|
|
||||||
|
- name: Copy start menu XML to client VMs
|
||||||
|
win_copy:
|
||||||
|
src: "gpu.xml"
|
||||||
|
dest: "C:\\eidf\\start_menu.xml"
|
||||||
|
force: true
|
||||||
|
tags: gpu_startmenu
|
||||||
|
when: inventory_hostname in groups['meta-variant_gpu']
|
||||||
|
|
||||||
|
- name: Update Group Policy
|
||||||
|
tags: workbench_startmenu
|
||||||
|
win_shell: gpupdate /force /boot /logoff
|
||||||
Reference in new issue
Block a user