intellij idea download fix, gamedev dev tasks

This commit is contained in:
ProgramSnail 2025-08-17 14:38:15 +03:00
parent 78454e2000
commit 6a5cb60746
4 changed files with 97 additions and 4 deletions

View file

@ -1,3 +1,7 @@
- name: Getting programs list to check fish presence
ansible.builtin.package_facts:
manager: auto
- name: Creating truffle dir
ansible.builtin.file:
path: "{{ ansible_env.HOME }}/truffle"
@ -32,9 +36,30 @@
link: /usr/bin/java
path: "{{ ansible_env.HOME }}/truffle/graalvm-23/bin/java"
- name: Installing Intellij IDEA
ansible.builtin.include_role:
name: gantsign.intellij
# NOTE: does not work properly (?)
# - name: Installing Intellij IDEA
# ansible.builtin.include_role:
# name: gantsign.intellij
# intellij idea
- name: Creating intellij idea dir
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
# examples
- name: Clone simple language example