mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-27 06:07:21 +00:00
32 lines
921 B
YAML
32 lines
921 B
YAML
---
|
|
- name: Copy start menu files
|
|
tags: copy_startmenu
|
|
block:
|
|
- name: Copy start menu XML to client VMs
|
|
win_copy:
|
|
src: "workbench.xml"
|
|
dest: "C:\\eidf\\start_menu.xml"
|
|
force: true
|
|
tags: workbench_startmenu
|
|
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
|