A quick way to install VS Code using the Microsoft recommended method.
None
VS Code will install by default. If you want the repository and the insiders build only set this to false.
vscode_install: trueTo install VS Code insiders build set this to true.
vscode_insiders_install: trueNone
# role using defaults
- hosts: servers
roles:
- ngetchell.vscode
# role with variables
- hosts: servers
roles:
- role: ngetchell.vscode
vars:
vscode_install: true
vscode_insiders_install: true
# role with extensions
---
- hosts: localhost
roles:
- ngetchell.vscode
vars:
vscode_extension:
- ms-python.python
- ms-vscode.powershell
- ms-vscode.azurecliMIT
Follow me on Twitter @getch3028 or at my PowerShell blog.