Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
b07fa0e2
Commit
b07fa0e2
authored
Dec 01, 2017
by
julian.gethmann
Browse files
Update PyCharm version
* Update PyCharm to 2017.3 * Add removal of old PyCharm installations
parent
616c0683
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/pycharm/tasks/main.yml
View file @
b07fa0e2
...
...
@@ -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
roles/pycharm/vars/main.yml
View file @
b07fa0e2
---
pycharm_name
:
pycharm-professional-2017.2.4
pycharm_name
:
pycharm-professional-2017.3
old_versions
:
-
pycharm-professional-2017.2.4
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment