2025-08-09 20:19:59 +03:00
|
|
|
- name: Installing vscode deps
|
2025-08-17 10:54:07 +03:00
|
|
|
become: true
|
2025-08-09 20:19:59 +03:00
|
|
|
ansible.builtin.dnf5:
|
|
|
|
|
name:
|
|
|
|
|
- fuse
|
|
|
|
|
- libX11-devel
|
|
|
|
|
- libxkbfile-devel
|
|
|
|
|
- libsecret-devel
|
|
|
|
|
- fakeroot
|
|
|
|
|
- python3
|
|
|
|
|
- nss
|
|
|
|
|
- at-spi2-atk
|
|
|
|
|
- gtk3-devel
|
|
|
|
|
state: latest
|
|
|
|
|
|
2025-08-17 19:27:01 +03:00
|
|
|
# TODO: dinamically get url from html (folder)
|
2025-08-09 20:19:59 +03:00
|
|
|
- name: Installing vscode (uncoded)
|
|
|
|
|
# become: true
|
|
|
|
|
ansible.builtin.get_url:
|
2025-10-14 17:04:20 +03:00
|
|
|
url: "https://code.except.one/st/storage/releases/download/uncoded/uncoded_amd64.appimage"
|
2025-10-14 16:32:01 +03:00
|
|
|
dest: "{{ bin_install_path }}/code"
|
2025-08-09 20:19:59 +03:00
|
|
|
mode: a+x
|
|
|
|
|
force: false
|
|
|
|
|
|
2025-10-14 16:32:01 +03:00
|
|
|
- name: Creating vscode extensions dir
|
|
|
|
|
ansible.builtin.file:
|
|
|
|
|
path: "{{ ansible_env.HOME }}/.vscode_ext"
|
|
|
|
|
state: directory
|
|
|
|
|
mode: a
|
|
|
|
|
|
2025-08-09 20:19:59 +03:00
|
|
|
- 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"
|
2025-10-14 16:32:01 +03:00
|
|
|
dest: "{{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsix"
|
2025-08-09 20:19:59 +03:00
|
|
|
mode: a
|
|
|
|
|
force: false
|
|
|
|
|
|
2025-10-14 16:32:01 +03:00
|
|
|
# TODO: does not work
|
|
|
|
|
# - name: "Installing vscode helix extension"
|
|
|
|
|
# ansible.builtin.command:
|
|
|
|
|
# cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsix"
|
|
|
|
|
# changed_when: false
|