Remove jetbrains role
This commit is contained in:
parent
b2bca6bb5c
commit
a92c59d9a4
@ -7,7 +7,6 @@
|
|||||||
- ubuntu-firefox
|
- ubuntu-firefox
|
||||||
- signal
|
- signal
|
||||||
- dotfiles
|
- dotfiles
|
||||||
- jetbrains
|
|
||||||
- prusa-slicer
|
- prusa-slicer
|
||||||
- intellij
|
- intellij
|
||||||
- autofs
|
- autofs
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
- name: Create temp dir
|
|
||||||
file:
|
|
||||||
path: /tmp/jetbrains-toolbox
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- name: Install jetbrains toolbox
|
|
||||||
become: yes
|
|
||||||
unarchive:
|
|
||||||
src: https://data.services.jetbrains.com/products/download?platform=linux&code=TBA
|
|
||||||
dest: /tmp/jetbrains-toolbox
|
|
||||||
remote_src: yes
|
|
||||||
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'
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
- import_tasks: jetbrains-toolbox.yml
|
|
||||||
when: ansible_distribution == "Ubuntu"
|
|
||||||
|
|
||||||
- import_tasks: system-setup.yml
|
|
||||||
when: ansible_distribution == "Ubuntu"
|
|
Loading…
Reference in New Issue
Block a user