Created
February 13, 2017 20:26
-
-
Save ruzickap/d9e1a29a16a16ea4e5bbcf2f561bf1d8 to your computer and use it in GitHub Desktop.
Small playbook used for initial Windows configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Start NTP service (w32time) | |
win_service: | |
name: w32time | |
state: started | |
- name: Configure NTP | |
raw: w32tm /config /manualpeerlist:"0.rhel.pool.ntp.org" /reliable:yes /update | |
- name: Install Chromium | |
win_chocolatey: name=chromium | |
- name: Install Double Commander | |
win_chocolatey: name=doublecmd | |
- name: Add Double Commander link to Desktop | |
raw: $WScriptShell = New-Object -ComObject WScript.Shell; $Shortcut = $WScriptShell.CreateShortcut("${Env:Public}\Desktop\Double Commander.lnk"); $Shortcut.TargetPath = "${Env:ProgramFiles}\Double Commander\doublecmd.exe"; $Shortcut.Save() | |
- name: Install Putty | |
win_chocolatey: name=putty.install | |
- name: Add PuTTY link to Desktop | |
raw: $WScriptShell = New-Object -ComObject WScript.Shell; $Shortcut = $WScriptShell.CreateShortcut("${Env:Public}\Desktop\PuTTY.lnk"); $Shortcut.TargetPath = "${Env:ProgramFiles(x86)}\PuTTY\putty.exe"; $Shortcut.Save() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment