blob: 2b74f4a5d3fff5587602ac1310d25067b338b2ec [file] [log] [blame]
---
#
# Installs the IntelliJ IDE
#
- name: Making sure Application folder is present
file:
path: "/home/ubuntu/{{ app_dir }}"
state: directory
mode: 0777
- name: Downloading IntelliJ
get_url:
url: "{{ intellij.url }}"
dest: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz"
- name: Extracting IntelliJ
unarchive:
src: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz"
dest: "/home/ubuntu/{{ app_dir }}"
mode: 0777
- name: Removing IntelliJ tar.gz archive
file:
path: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz"
state: absent