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: