--- - 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