2022-09-25 10:35:45 +00:00
|
|
|
- name: Install VS Code
|
|
|
|
win_chocolatey:
|
2022-09-26 12:33:52 +00:00
|
|
|
name: vscode
|
2022-09-25 10:35:45 +00:00
|
|
|
|
2022-09-30 12:49:27 +00:00
|
|
|
- name: Add firewall rule for VS Code
|
|
|
|
win_firewall_rule:
|
|
|
|
name: "Allow inbound traffic for VS Code"
|
|
|
|
program: "%ProgramFiles%\\Microsoft VS Code\\code.exe"
|
|
|
|
action: allow
|
|
|
|
direction: in
|
|
|
|
|
2023-09-11 12:45:12 +00:00
|
|
|
- name: Include VS code extension list
|
|
|
|
include_vars: vscode_extensions.yml
|
|
|
|
|
2022-09-25 10:35:45 +00:00
|
|
|
- name: Install VS Code extensions
|
2022-09-26 12:33:52 +00:00
|
|
|
win_shell: code --extensions-dir "C:\\Program Files\\Microsoft VS Code\\resources\\app\\extensions" --install-extension "{{ item }}"
|
|
|
|
args:
|
|
|
|
chdir: "%ProgramFiles%\\Microsoft VS Code\\bin"
|
2023-09-11 12:45:12 +00:00
|
|
|
loop: "{{VSCode_Extensions}}"
|
|
|
|
|