blob: 2b74f4a5d3fff5587602ac1310d25067b338b2ec [file] [log] [blame]
Luca Prete8d4e8bc2016-08-24 14:49:54 -07001---
2#
3# Installs the IntelliJ IDE
4#
5- name: Making sure Application folder is present
6 file:
Luca Preted8d82312017-03-23 10:26:16 -07007 path: "/home/ubuntu/{{ app_dir }}"
Luca Prete8d4e8bc2016-08-24 14:49:54 -07008 state: directory
9 mode: 0777
10
11- name: Downloading IntelliJ
12 get_url:
13 url: "{{ intellij.url }}"
Luca Preted8d82312017-03-23 10:26:16 -070014 dest: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz"
Luca Prete8d4e8bc2016-08-24 14:49:54 -070015
16- name: Extracting IntelliJ
17 unarchive:
18 src: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz"
19 dest: "/home/ubuntu/{{ app_dir }}"
20 mode: 0777
21
22- name: Removing IntelliJ tar.gz archive
23 file:
Luca Preted8d82312017-03-23 10:26:16 -070024 path: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz"
Luca Prete8d4e8bc2016-08-24 14:49:54 -070025 state: absent