You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ansible workaround for Microsoft's aggressive repo management (users to opt-out of apt repository install) #8968
Here's a quick workaround for anyone stumbling over this that is managing code (vscode) installation on Linux using ansible; Should be portable to other toolchains as well.
- name: Disable automatic Microsoft repository configuration for vscode
become: yes
ansible.builtin.debconf:
name: code
question: code/add-microsoft-repo
value: 'false'
vtype: boolean
Activity
rzhao271 commentedon Oct 10, 2025
Adding Nick Trogh (@ntrogh) to see whether this could be added to the docs.