File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 6
6
become : true
7
7
8
8
- 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 }}'
10
13
11
14
- 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
13
21
14
22
- name : Disable monitor and standby idle timeout
15
23
ansible.windows.win_command : powercfg -x -{{ timeout }} 0
You can’t perform that action at this time.
0 commit comments