Add .desktop files, update download links for JetBrains IDEs on Ubuntu
This commit is contained in:
parent
61e9e01978
commit
889083aee0
6 changed files with 109 additions and 4 deletions
|
@ -6,7 +6,27 @@
|
|||
state: directory
|
||||
- name: Download and unpack JetBrains IDEA
|
||||
unarchive:
|
||||
src: https://download.jetbrains.com/idea/ideaIC-2023.2.1.tar.gz
|
||||
src: https://data.services.jetbrains.com/products/download?code=IIU&platform=linux
|
||||
dest: /opt/IDEA
|
||||
creates: /opt/IDEA/idea-IC-232.9559.62/build.txt
|
||||
extra_opts: --strip-components=1
|
||||
creates: /opt/IDEA/build.txt
|
||||
remote_src: yes
|
||||
|
||||
- name: Install icon
|
||||
block:
|
||||
- file:
|
||||
path: /usr/local/share/icons
|
||||
state: directory
|
||||
- copy:
|
||||
src: /opt/IDEA/bin/idea.svg
|
||||
remote_src: true
|
||||
dest: /usr/local/share/icons/idea.svg
|
||||
|
||||
- name: Create .desktop file
|
||||
block:
|
||||
- file:
|
||||
path: /usr/local/share/applications
|
||||
state: directory
|
||||
- copy:
|
||||
dest: /usr/local/share/applications/idea.desktop
|
||||
src: idea.desktop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue