From d45a60363bb1a26807d7bf0053f3d8c772cae753 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 17 Aug 2021 21:40:30 +0200 Subject: [PATCH] add visual studio code --- tasks/main.yml | 17 ++++++++++++++++- vars/main.yml | 4 ---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 67cf73f..0bb719a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,5 +18,20 @@ - name: "Install Nextcloud client" apt: + name: "nextcloud-desktop" state: present - name: nextcloud-desktop + +- name: "Add the apt key for Visual Studio Code" + apt_key: + url: "https://packages.microsoft.com/keys/microsoft.asc" + state: present + +- name: "Add repository for Visual Studio Code" + apt_repository: + repo: "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" + state: present + +- name: "Install Visual Studio Code" + apt: + name: "code" + update_cache: yes diff --git a/vars/main.yml b/vars/main.yml index 7650437..015ab8f 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -4,14 +4,10 @@ deploy_user_name: andreas keeweb_url: https://github.com/keeweb/keeweb/releases/download/v1.18.7/KeeWeb-1.18.7.linux.x64.deb packages: - - git - meld - shotwell - stow - texlive-full - - tmux - - tree - - vim - mpv - libreoffice - mosh