update stuff

This commit is contained in:
abrown38 committed 2025-05-23 11:26:44 +01:00
1 parent 0ea597180c
commit 66c83a2014
7 files changed
+72 -109

No files matched your search

@@ -38,6 +38,24 @@
when: inventory_hostname in groups['meta-variant_gpu']
when: groups['meta-variant_gpu'] is defined
- name: Update Start Menu Shortcutsm
tags: update_start_menu
block:
- name: Copy Python script to target machine
ansible.windows.win_template:
src: '{{ script_name }}'
dest: '{{ script_path }}'
force: true
- name: Copy current XML to backup location
win_copy:
remote_src: true
src: '{{ start_menu_xml }}'
dest: '{{ backup_xml }}'
- name: Run Python script on remote machine
win_command: python "{{ script_path }}"
- name: Update Group Policy
win_shell: gpupdate /force /boot /logoff
tags: