Fix broken display settings
This commit is contained in:
parent
c1ade197c3
commit
725737321d
1 changed files with 10 additions and 0 deletions
|
@ -52,6 +52,16 @@
|
||||||
win_command: wuauclt.exe /updatenow
|
win_command: wuauclt.exe /updatenow
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
- name: Fix broken display settings - start CDPSvc
|
||||||
|
win_regedit:
|
||||||
|
path: "{{item}}"
|
||||||
|
name: "Start"
|
||||||
|
type: dword
|
||||||
|
data: 0x00000002
|
||||||
|
with_items:
|
||||||
|
- HKLM\SYSTEM\CurrentControlSet\Services\CDPSvc
|
||||||
|
- HKLM\SYSTEM\CurrentControlSet\Services\CDPUserSvc
|
||||||
|
|
||||||
- name: Reboot
|
- name: Reboot
|
||||||
win_command: "shutdown /r"
|
win_command: "shutdown /r"
|
||||||
when: domain_state.reboot_required
|
when: domain_state.reboot_required
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue