ansible-desktop/roles/dev-java/tasks/arch.yml

24 lines
554 B
YAML

- name: "[Arch] install java"
become: yes
community.general.pacman:
name:
- jdk17-openjdk
- name: "[Arch] Build pkgs IntelliJ"
shell:
cmd:
yay -Sw --needed --noconfirm intellij-idea-ultimate-edition
- name: "[Arch] Install IntelliJ"
become: yes
shell:
chdir: "{{ ansible_user_dir }}/.cache/yay/intellij-idea-ultimate-edition"
cmd:
makepkg -i --noconfirm
- name: "[Arch] Create symbolic link"
become: yes
file:
src: "/usr/bin/intellij-idea-ultimate-edition"
dest: "/usr/bin/idea"
state: link