Implement taskbar layout GPO

This commit is contained in:
Chris Long
2020-12-17 17:14:22 -08:00
parent 5b7dab7a43
commit ec57ad4fb9
21 changed files with 163 additions and 9 deletions

View File

@@ -139,6 +139,21 @@
- debug: msg="{{ rdp_gpo.stdout_lines }}"
- name: Configure Taskbar Layout GPO
win_shell: .\\configure-taskbar-layout-gpo.ps1
args:
chdir: 'c:\vagrant\scripts'
register: taskbar_gpo
vars:
ansible_become: yes
ansible_become_method: runas
ansible_become_user: windomain.local\vagrant
ansible_become_password: vagrant
ansible_become_flags: logon_type=new_credentials logon_flags=netcredentials_only
failed_when: "'Exception' in taskbar_gpo.stderr"
- debug: msg="{{ taskbar_gpo.stdout_lines }}"
- name: Configure DC with raw Commands
win_shell: "{{ item }}"
with_items: