install vscode from the deb

otherwise I get the repository twice
This commit is contained in:
Andreas Zweili 2021-08-24 19:10:41 +02:00
parent b81db77586
commit 10058076dc
2 changed files with 7 additions and 6 deletions

View File

@ -26,15 +26,14 @@
url: "https://packages.microsoft.com/keys/microsoft.asc"
state: present
- name: "Add repository for Visual Studio Code"
apt_repository:
repo: "deb [arch=amd64] https://packages.microsoft.com/repos/code stable main"
state: present
- name: "Download VSCode"
get_url:
url: "{{ vscode_url }}"
dest: /tmp/vscode.deb
- name: "Install Visual Studio Code"
apt:
name: "code"
update_cache: yes
deb: /tmp/vscode.deb
- name: "Copy the MPV config"
copy:

View File

@ -3,6 +3,8 @@ deploy_user_name: andreas
keeweb_url: https://github.com/keeweb/keeweb/releases/download/v1.18.7/KeeWeb-1.18.7.linux.x64.deb
vscode_url: https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64
packages:
- baobab
- calibre