From 6c9090f6958ed46246775ecefe9a2769bb172b2d Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 30 Sep 2022 12:49:27 +0000 Subject: [PATCH] Allow VS Code through the firewall --- roles/winroom/tasks/vscode.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/winroom/tasks/vscode.yml b/roles/winroom/tasks/vscode.yml index 016e3ee..4b6ee46 100644 --- a/roles/winroom/tasks/vscode.yml +++ b/roles/winroom/tasks/vscode.yml @@ -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: