feat(editor_vscode): handle deb package install
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
7e1d9a7fc3
commit
d354caf1aa
3 changed files with 13 additions and 0 deletions
1
roles/editor_vscode/tasks/install_Debian.yml
Symbolic link
1
roles/editor_vscode/tasks/install_Debian.yml
Symbolic link
|
@ -0,0 +1 @@
|
|||
install_deb.yml
|
1
roles/editor_vscode/tasks/install_Ubuntu.yml
Symbolic link
1
roles/editor_vscode/tasks/install_Ubuntu.yml
Symbolic link
|
@ -0,0 +1 @@
|
|||
install_deb.yml
|
11
roles/editor_vscode/tasks/install_deb.yml
Normal file
11
roles/editor_vscode/tasks/install_deb.yml
Normal 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
|
Loading…
Reference in a new issue