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
32
roles/clion/tasks/main_lin.yml
Normal file
32
roles/clion/tasks/main_lin.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
- name: Install CLion
|
||||
block:
|
||||
- name: Create destination for JetBrains CLion
|
||||
file:
|
||||
path: /opt/CLion
|
||||
state: directory
|
||||
- name: Download and unpack JetBrains CLion
|
||||
unarchive:
|
||||
src: https://data.services.jetbrains.com/products/download?code=CL&platform=linux
|
||||
dest: /opt/CLion
|
||||
extra_opts: --strip-components=1
|
||||
creates: /opt/CLion/build.txt
|
||||
remote_src: yes
|
||||
|
||||
- name: Install icon
|
||||
block:
|
||||
- file:
|
||||
path: /usr/local/share/icons
|
||||
state: directory
|
||||
- copy:
|
||||
src: /opt/CLion/bin/clion.svg
|
||||
remote_src: true
|
||||
dest: /usr/local/share/icons/clion.svg
|
||||
|
||||
- name: Create .desktop file
|
||||
block:
|
||||
- file:
|
||||
path: /usr/local/share/applications
|
||||
state: directory
|
||||
- copy:
|
||||
dest: /usr/local/share/applications/clion.desktop
|
||||
src: clion.desktop
|
Loading…
Add table
Add a link
Reference in a new issue