feat(editor_vscode): handle deb package install

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-12-26 15:43:07 +01:00
parent 7e1d9a7fc3
commit d354caf1aa
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8
3 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1 @@
install_deb.yml

View file

@ -0,0 +1 @@
install_deb.yml

View file

@ -0,0 +1,11 @@
---
- name: Resolve URL to the VSCode RPM
ansible.builtin.uri:
url: https://code.visualstudio.com/sha/download?build=insider&os=linux-deb-x64
register: _vscode_deb_response
- name: Install VSCode via DEB package
ansible.builtin.apt:
deb: "{{ _vscode_deb_response.url }}"
state: present
become: true