run from a build release instead of building yourself
This commit is contained in:
parent
50827733c1
commit
578af35196
3 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
# defaults file for .
|
||||
cat_user: cat
|
||||
version: 1.0.1
|
||||
|
||||
mariadb_root_password: "some_super_secure_password"
|
||||
|
||||
|
|
|
@ -57,12 +57,12 @@
|
|||
dest: "{{ cat_git_destination }}"
|
||||
|
||||
|
||||
- name: Compile to jar
|
||||
become: yes
|
||||
become_user: "{{ cat_user }}"
|
||||
shell: lein uberjar
|
||||
args:
|
||||
chdir: "{{ cat_git_destination }}"
|
||||
#- name: Compile to jar
|
||||
# become: yes
|
||||
# become_user: "{{ cat_user }}"
|
||||
# shell: lein uberjar
|
||||
# args:
|
||||
# chdir: "{{ cat_git_destination }}"
|
||||
|
||||
|
||||
########################
|
||||
|
|
|
@ -9,4 +9,4 @@ ACCESS-TOKEN-URI="{{ access-token-uri }}"
|
|||
OAUTH-CONSUMER-KEY="{{ OAUTH-CONSUMER-KEY }}"
|
||||
OAUTH-CONSUMER-SECRET="{{ OAUTH-CONSUMER-SECRET }}"
|
||||
|
||||
java -jar {{ cat_git_destination }}/target/uberjar/cat.jar
|
||||
java -jar {{ cat_git_destination }}/releases/cat-{{version}}-SNAPSHOT.jar
|
||||
|
|
Loading…
Reference in a new issue