dotfiles/roles/editor_vscode/tasks/install_rhel.yml
2024-12-22 20:34:52 +01:00

12 lines
341 B
YAML

---
- name: Resolve URL to the VSCode RPM
ansible.builtin.uri:
url: https://code.visualstudio.com/sha/download?build=insider&os=linux-rpm-x64
register: _vscode_rpm_response
- name: Install VSCode via RPM
ansible.builtin.dnf:
name: "{{ _vscode_rpm_response.url }}"
disable_gpg_check: true
state: present
become: true