Skip to content

Commit

Permalink
win: reboot at end of script
Browse files Browse the repository at this point in the history
PR-URL: #624
Reviewed-By: João Reis <reis@janeasystems.com>
Reviewed-By: Michele Capra <michelecapra83@gmail.com>
Reviewed-By: Gibson Fahnestock <gib@uk.ibm.com>
  • Loading branch information
kunalspathak authored and joaocgreis committed Feb 16, 2017
1 parent 7b9d9f9 commit d2d5dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions setup/windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ Below command setup the machine with VS2015.
$ ansible-playbook -i ../ansible-inventory vs2015-ansible-playbook.yaml -vv
```

The servers should logon automatically at boot and start the Jenkins slave, but there is no automatic restart procedure for crashes (for now).
Hence, to start Jenkins after running `ansible-playbook`, the server must be restarted or the slave must be manually started with RDP.
The servers should logon automatically at boot and start the Jenkins slave.

The release servers need to have the WiX Toolset and 7-Zip installed and in the path (not part of this script).
3 changes: 3 additions & 0 deletions setup/windows/common-ansible-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@
- name: Automatic Logon | Setup Automatic Logon
script: "./resources/Enable-Autologon.ps1 -UserName {{ ansible_ssh_user }} -Password {{ ansible_ssh_pass }}"
tags: [setup, autologon]

- name: Reboot Machine
win_reboot:

0 comments on commit d2d5dd2

Please sign in to comment.