Compare commits
No commits in common. "111c4b68fad46576e9fa1a8e4d7f28d34871bcb4" and "57662dcf8ae12323397f3c193ffab455db289f42" have entirely different histories.
111c4b68fa
...
57662dcf8a
@ -1,33 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Create temp dir
|
- name: Unarchive a file that needs to be downloaded (added in 2.0)
|
||||||
file:
|
|
||||||
path: /tmp/jetbrains-toolbox
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: Install jetbrains toolbox
|
|
||||||
become: yes
|
become: yes
|
||||||
unarchive:
|
unarchive:
|
||||||
src: https://data.services.jetbrains.com/products/download?platform=linux&code=TBA
|
src: https://download.jetbrains.com/toolbox/jetbrains-toolbox-{{ toolbox.version }}.tar.gz
|
||||||
dest: /tmp/jetbrains-toolbox
|
dest: /usr/local/bin
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: get folder name
|
|
||||||
shell: ls /tmp/jetbrains-toolbox
|
|
||||||
register: dir_name
|
|
||||||
|
|
||||||
- name: Move foo to bar
|
|
||||||
become: yes
|
|
||||||
command: cp -ra /tmp/jetbrains-toolbox/{{ dir_name.stdout }}/jetbrains-toolbox /usr/local/bin/jetbrains-toolbox
|
|
||||||
|
|
||||||
- name: Remove temp directory
|
|
||||||
become: yes
|
|
||||||
file:
|
|
||||||
path: /tmp/jetbrains-toolbox
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: change chmod
|
|
||||||
become: yes
|
|
||||||
file:
|
|
||||||
path: /usr/local/bin/jetbrains-toolbox
|
|
||||||
mode: '0755'
|
|
3
roles/jetbrains/vars/main.yml
Normal file
3
roles/jetbrains/vars/main.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
toolbox:
|
||||||
|
version: 1.17.7139
|
@ -41,7 +41,7 @@
|
|||||||
- name: install gui apps
|
- name: install gui apps
|
||||||
become: yes
|
become: yes
|
||||||
apt:
|
apt:
|
||||||
update_cache: yes
|
update_cashe: yes
|
||||||
pkg:
|
pkg:
|
||||||
- redshift
|
- redshift
|
||||||
- compton
|
- compton
|
||||||
|
Loading…
Reference in New Issue
Block a user