mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-24 16:28:44 +00:00
34 lines
1 KiB
YAML
34 lines
1 KiB
YAML
- name: Installing vscode deps
|
|
ansible.builtin.dnf5:
|
|
name:
|
|
- fuse
|
|
- libX11-devel
|
|
- libxkbfile-devel
|
|
- libsecret-devel
|
|
- fakeroot
|
|
- python3
|
|
- nss
|
|
- at-spi2-atk
|
|
- gtk3-devel
|
|
state: latest
|
|
|
|
# TODO: dinamically get url from forder
|
|
- name: Installing vscode (uncoded)
|
|
# become: true
|
|
ansible.builtin.get_url:
|
|
url: "https://tilde.club/~megastallman/uncoded/code-oss-1754477678_amd64.AppImage"
|
|
dest: "{{ ansible_env.HOME }}/.bin/code"
|
|
mode: a+x
|
|
force: false
|
|
|
|
- name: Downloading vscode helix extension
|
|
ansible.builtin.get_url:
|
|
url: "https://open-vsx.org/api/jasew/vscode-helix-emulation/0.6.2/file/jasew.vscode-helix-emulation-0.6.2.vsix"
|
|
dest: "{{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsi"
|
|
mode: a
|
|
force: false
|
|
|
|
- name: "Installing vscode helix extension"
|
|
ansible.builtin.command:
|
|
cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsi"
|
|
changed_when: false
|