main.yml 387 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: download PyCharm
  get_url:
    url: "https://download-cf.jetbrains.com/python/pycharm-community-2017.1.4.tar.gz"
    dest: /tmp/pycharm.tar.gz

- name: create directory
  become: yes
  file:
    path: /usr/local/bin/pycharm
    state: directory

- name: unarchive
  become: yes
  unarchive:
    src: /tmp/pycharm.tar.gz
    dest: /usr/local/bin/pycharm
    remote_src: yes