me fish dirs, fixes

This commit is contained in:
ProgramSnail 2025-08-17 16:26:47 +03:00
parent 6a5cb60746
commit 86f72b810e
6 changed files with 22 additions and 26 deletions

View file

@ -5,7 +5,7 @@
# defold
- name: Creating defold game engine dir
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/truffle/defold"
path: "{{ ansible_env.HOME }}/defold"
state: directory
mode: a
- name: Installing defold game engine

View file

@ -6,13 +6,6 @@
- curl
state: latest
# TODO: use curl script ??
- name: Installing bun
become: true
ansible.builtin.command:
cmd: npm install -g bun
changed_when: true # change is checked inside npm
- name: Downloading bun install script
ansible.builtin.uri:
url: https://bun.sh/install

View file

@ -46,20 +46,21 @@
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/idea"
state: directory
mode: a
- name: Installing intellij idea
ansible.builtin.unarchive:
remote_src: true
src: "https://github.com/JetBrains/intellij-community/releases/download/idea%2F2025.2/ideaIC-252.23892.409.tar.gz"
dest: "{{ ansible_env.HOME }}/idea"
mode: a
keep_newer: true
extra_opts: [--strip-components=1]
- name: Updating fish path for intellil idea
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/idea/bin
args:
executable: /usr/bin/fish
changed_when: false
# - name: Running idea for the first time
# ansible.builtin.command:
# cmd: "{{ ansible_env.HOME }}/idea/bin/idea.sh"
# changed_when: false
# examples
- name: Clone simple language example