Matej Focko
14576e842e
When installing VSCode via RPM or DEB package, branch by the package manager rather than the distribution. Signed-off-by: Matej Focko <me@mfocko.xyz>
11 lines
328 B
YAML
11 lines
328 B
YAML
---
|
|
- name: Resolve URL to the VSCode deb package
|
|
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
|