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
2b409315
Commit
2b409315
authored
Nov 08, 2017
by
julian.gethmann
Browse files
Update PyCharm to current Professional version and make Inovesa idempotent
parent
41f09b18
Changes
3
Hide whitespace changes
Inline
Side-by-side
roles/inovesa/tasks/main.yml
View file @
2b409315
...
...
@@ -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
...
...
roles/pycharm/tasks/main.yml
View file @
2b409315
...
...
@@ -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
roles/pycharm/vars/main.yml
View file @
2b409315
---
pycharm_name
:
pycharm-
community
-2017.2.4
pycharm_name
:
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