Update role dependencies
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
---
|
||||
|
||||
- name: change power plan to high performance
|
||||
win_power_plan:
|
||||
name: high performance
|
||||
ignore_errors: yes
|
||||
- block:
|
||||
- name: change power plan to high performance
|
||||
win_power_plan:
|
||||
name: high performance
|
||||
|
||||
rescue:
|
||||
- name: use powershell to change plan to high performance
|
||||
win_shell: |
|
||||
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
|
||||
#powercfg /change monitor-timeout-ac 0
|
||||
powercfg /change disk-timeout-ac 0
|
||||
powercfg /change standby-timeout-ac 0
|
||||
powercfg /change hibernate-timeout-ac 0
|
||||
ignore_errors: true
|
||||
Reference in New Issue
Block a user