dotfiles/roles/editor_vscode/tasks/install_deb.yml
Matej Focko d354caf1aa
feat(editor_vscode): handle deb package install
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-12-26 15:43:07 +01:00

11 lines
320 B
YAML

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