Commit b07fa0e2 authored by julian.gethmann's avatar julian.gethmann

Update PyCharm version

* Update PyCharm to 2017.3
* Add removal of old PyCharm installations
parent 616c0683
......@@ -20,6 +20,7 @@
path: /usr/local/bin/pycharm
src: "/usr/local/pycharm/{{ pycharm_name | regex_replace('-professional') }}/bin/pycharm.sh"
state: link
register: new_version
- name: add Desktop-icon
template:
......@@ -30,3 +31,11 @@
group: users
mode: 0744
ignore_errors: yes
- name: uninstalled old versions
become: yes
file:
state: absent
path: "/usr/local/pycharm/{{ item | regex_replace('-professional') }}"
with_items: "{{ old_versions }}"
when: new_version.changed
---
pycharm_name: pycharm-professional-2017.2.4
pycharm_name: pycharm-professional-2017.3
old_versions:
- 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