Skip to content

Commit

Permalink
update password for login TO-246
Browse files Browse the repository at this point in the history
  • Loading branch information
layfield-ccdc committed Jul 18, 2024
1 parent deadca2 commit 8c39ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
become: true

- name: "Enable autologon for vagrant"
ansible.windows.win_command: "C:\\ProgramData\\chocolatey\\bin\\Autologon.exe vagrant . vagrant"
ansible.windows.win_command: "C:\\ProgramData\\chocolatey\\bin\\Autologon.exe vagrant . {{ ansible_password }}"

- name: Disable screen saver
ansible.windows.win_shell: Set-ItemProperty "HKCU:\Control Panel\Desktop" -Name ScreenSaveActive -Value 0 -Type DWord
Expand Down
1 change: 1 addition & 0 deletions vars/Windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ansible_password: vagrant

0 comments on commit 8c39ca8

Please sign in to comment.