Files
windows-ansible/ansible/roles/win_client/tasks/start_menu.yml
T
2025-04-21 10:00:34 +01:00

45 lines
1.2 KiB
YAML

---
- name: Copy start menu to workbench VMs
tags:
- copy_startmenu
- workbench_startmenu
block:
- name: Copy start menu to workbench VMs
win_copy:
src: "workbench.xml"
dest: "{{ start_menu_xml }}"
force: true
when: inventory_hostname in groups['meta-variant_workbench']
when: groups['meta-variant_workbench'] is defined
- name: Copy start menu to application VMs
tags:
- copy_startmenu
- application_startmenu
block:
- name: Copy start menu to application VMs
win_copy:
src: "application.xml"
dest: "{{ start_menu_xml }}"
force: true
when: inventory_hostname in groups['meta-variant_application']
when: groups['meta-variant_application'] is defined
- name: Copy start menu to workbench VMs
tags:
- copy_startmenu
- gpu_startmenu
block:
- name: Copy start menu to gpu VMs
win_copy:
src: "gpu.xml"
dest: "{{ start_menu_xml }}"
force: true
when: inventory_hostname in groups['meta-variant_gpu']
when: groups['meta-variant_gpu'] is defined
- name: Update Group Policy
win_shell: gpupdate /force /boot /logoff
tags:
- client_gpupdate