No real need to update the key every time, recombine the step.

This commit is contained in:
Hyperling 2025-03-07 08:48:00 -07:00
parent a447389af2
commit 695a7fc30b

View File

@ -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"