Allow VS Code through the firewall

This commit is contained in:
Timotej Lazar 2022-09-30 12:49:27 +00:00
parent 68799a2dd4
commit 6c9090f695

View file

@ -2,6 +2,13 @@
win_chocolatey:
name: vscode
- 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
- name: Install VS Code extensions
win_shell: code --extensions-dir "C:\\Program Files\\Microsoft VS Code\\resources\\app\\extensions" --install-extension "{{ item }}"
args: