Commit 34017cb2 authored by julian.gethmann's avatar julian.gethmann

Update PyCharm to current Professional version and make Inovesa idempotent

parent 923ffc8e
......@@ -64,11 +64,13 @@
args:
chdir: /usr/local/Inovesa/
creates: /usr/local/Inovesa/Makefile
register: cmake
- name: make Inovesa
become: yes
make:
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
file:
mode: o+rx
path: /usr/local/bin/pycharm
src: "/usr/local/pycharm/{{ pycharm_name }}/bin/pycharm.sh"
src: "/usr/local/pycharm/{{ pycharm_name | regex_replace('-professional') }}/bin/pycharm.sh"
state: link
---
pycharm_name: pycharm-community-2017.2.4
pycharm_name: pycharm-professional-2017.2.4
Markdown is supported
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