mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-03-12 04:57:08 +00:00
fixes, cli utils, vscode, coq
This commit is contained in:
parent
66109effc5
commit
634e4440d6
6 changed files with 101 additions and 2 deletions
34
roles/dev/tasks/vscode.yml
Normal file
34
roles/dev/tasks/vscode.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue