Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 1 | --- |
| 2 | # |
| 3 | # Installs the IntelliJ IDE |
| 4 | # |
| 5 | - name: Making sure Application folder is present |
| 6 | file: |
Luca Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 7 | path: "/home/ubuntu/{{ app_dir }}" |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 8 | state: directory |
| 9 | mode: 0777 |
| 10 | |
| 11 | - name: Downloading IntelliJ |
| 12 | get_url: |
| 13 | url: "{{ intellij.url }}" |
Luca Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 14 | dest: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz" |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 15 | |
| 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 Prete | d8d8231 | 2017-03-23 10:26:16 -0700 | [diff] [blame] | 24 | path: "/home/ubuntu/{{ app_dir }}/intellij.tar.gz" |
Luca Prete | 8d4e8bc | 2016-08-24 14:49:54 -0700 | [diff] [blame] | 25 | state: absent |