From 695a7fc30b24a117be56cbbe9bfe4aba71386b5a Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 7 Mar 2025 08:48:00 -0700 Subject: [PATCH] No real need to update the key every time, recombine the step. --- tasks/workstation/linux/software/vscodium.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tasks/workstation/linux/software/vscodium.yml b/tasks/workstation/linux/software/vscodium.yml index ccee564..446369b 100644 --- a/tasks/workstation/linux/software/vscodium.yml +++ b/tasks/workstation/linux/software/vscodium.yml @@ -27,15 +27,12 @@ ## Install Repo ## -- name: Workstation | Linux | Software | VS Codium | Add Latest Key - shell: "wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \ - | gpg --dearmor \ - | sudo tee {{ vscodium_keyfile }} > /dev/null" - when: ansible_pkg_mgr == "apt" and coding == true - - name: Workstation | Linux | Software | VS Codium | Add PPA shell: "{{ item }}" loop: + - "wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \ + | gpg --dearmor \ + | sudo tee {{ vscodium_keyfile }} > /dev/null" - "echo 'deb [arch=amd64,arm64 signed-by={{ vscodium_keyfile }}] https://download.vscodium.com/debs vscodium main' \ | sudo tee {{ vscodium_source_list }}" - "sudo apt update"