Commit 2b409315 authored by julian.gethmann's avatar julian.gethmann
Browse files

Update PyCharm to current Professional version and make Inovesa idempotent

parent 41f09b18
......@@ -64,11 +64,13 @@
chdir: /usr/local/Inovesa/
creates: /usr/local/Inovesa/Makefile
register: cmake
- name: make Inovesa
become: yes
chdir: /usr/local/Inovesa
when: cmake.changed
- name: link inovesa
become: yes
......@@ -16,12 +16,12 @@
src: /tmp/pycharm.tar.gz
dest: /usr/local/pycharm
remote_src: yes
creates: "/usr/local/{{ pycharm_name }}"
creates: "/usr/local/pycharm/{{ pycharm_name | regex_replace('-professional') }}"
- name: link PyCharm
become: yes
mode: o+rx
path: /usr/local/bin/pycharm
src: "/usr/local/pycharm/{{ pycharm_name }}/bin/"
src: "/usr/local/pycharm/{{ pycharm_name | regex_replace('-professional') }}/bin/"
state: link
pycharm_name: pycharm-community-2017.2.4
pycharm_name: pycharm-professional-2017.2.4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment