Commit 8183d535 authored by bow's avatar bow
Browse files

Add task for stopping sentinel service before removing jar

parent f5be2b86
......@@ -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
Supports Markdown
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