- name: Installing vscode deps become: true 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 html (folder) - name: Installing vscode (uncoded) # become: true ansible.builtin.get_url: url: "https://code.except.one/st/storage/releases/download/uncoded/uncoded_amd64.appimage" dest: "{{ bin_install_path }}/code" mode: a+x force: false - name: Creating vscode extensions dir ansible.builtin.file: path: "{{ ansible_env.HOME }}/.vscode_ext" state: directory mode: a - 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.vsix" mode: a force: false # 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