mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-28 20:07:21 +00:00
Apply group policies and copy start menu xml
This commit is contained in:
1 parent
b275911112
commit
9eace74ef4
6 files changed
+63
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Apply group policy
|
||||
win_shell: powershell C:\eidf\{{ group_policy_script }}
|
||||
tags: apply_gpo
|
||||
when: inventory_hostname in groups['meta-name_dc01']
|
||||
|
||||
- name: Copy Start menu DC01
|
||||
win_copy:
|
||||
src: "{{ start_menu_xml }}"
|
||||
dest: "C:\\eidf"
|
||||
force: true
|
||||
tags: start_menu
|
||||
when: inventory_hostname in groups['meta-name_dc01']
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
- import_tasks: features.yml
|
||||
- import_tasks: setup.yml
|
||||
- import_tasks: users.yml
|
||||
- import_tasks: group_policy.yml
|
||||
#- import_tasks: remote_desktop.yml
|
||||
@@ -24,7 +24,7 @@
|
||||
block:
|
||||
- name: Copy Group Policy script to DC01
|
||||
win_copy:
|
||||
src: "OpenStackADBuildv6.2.ps1"
|
||||
src: "{{ group_policy_script }}"
|
||||
dest: "C:\\eidf"
|
||||
force: true
|
||||
when: inventory_hostname in groups['meta-name_dc01']
|
||||
|
||||
Reference in new issue
Block a user