Files
windows-ansible/ansible/roles/win_domain_controller/tasks/group_policy.yml
T

14 lines
353 B
YAML

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