Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SASC
sentinel-legacy
Commits
8183d535
Commit
8183d535
authored
Jan 25, 2016
by
bow
Browse files
Add task for stopping sentinel service before removing jar
parent
f5be2b86
Changes
1
Hide whitespace changes
Inline
Side-by-side
deployment/ansible-role-sentinel/tasks/deploy_jar.yml
View file @
8183d535
...
...
@@ -12,6 +12,10 @@
set_fact
:
sentinel_dep_conf={{ sentinel_dep_jar|dirname }}/sentinel.conf
when
:
cmd_scala_series|success and cmd_sentinel_version|success
-
name
:
ensure sentinel service is stopped if repo was updated
service
:
name=sentinel state=stopped
when
:
gitclone|changed
-
name
:
remove possible assembled jar if repo was updated
file
:
path={{ sentinel_asm_jar }} state=absent
when
:
gitclone|changed
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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