Skip to content

Commit 5504170

Browse files
authoredSep 16, 2024
Fix linter complaints (NO_JIRA)
1 parent 4ed66a3 commit 5504170

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
 

‎tasks/Windows.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@
66
become: true
77

88
- name: Enable autologon for vagrant
9-
ansible.windows.win_command: powershell.exe Start-Process -FilePath "C:\\ProgramData\\chocolatey\\bin\\Autologon.exe" -ArgumentList '"/accepteula" vagrant . {{ windows_autologon_password }}'
9+
ansible.windows.win_command: >
10+
powershell.exe Start-Process
11+
-FilePath "C:\\ProgramData\\chocolatey\\bin\\Autologon.exe"
12+
-ArgumentList '"/accepteula" vagrant . {{ windows_autologon_password }}'
1013
1114
- name: Disable screen saver
12-
ansible.windows.win_shell: Set-ItemProperty "HKCU:\Control Panel\Desktop" -Name ScreenSaveActive -Value 0 -Type DWord
15+
ansible.windows.win_shell: >
16+
Set-ItemProperty
17+
"HKCU:\Control Panel\Desktop"
18+
-Name ScreenSaveActive
19+
-Value 0
20+
-Type DWord
1321
1422
- name: Disable monitor and standby idle timeout
1523
ansible.windows.win_command: powercfg -x -{{ timeout }} 0

0 commit comments

Comments
 (0)