run from a build release instead of building yourself

This commit is contained in:
flynn 2019-02-13 20:26:06 +01:00
parent 50827733c1
commit 578af35196
3 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,7 @@
--- ---
# defaults file for . # defaults file for .
cat_user: cat cat_user: cat
version: 1.0.1
mariadb_root_password: "some_super_secure_password" mariadb_root_password: "some_super_secure_password"

View file

@ -57,12 +57,12 @@
dest: "{{ cat_git_destination }}" dest: "{{ cat_git_destination }}"
- name: Compile to jar #- name: Compile to jar
become: yes # become: yes
become_user: "{{ cat_user }}" # become_user: "{{ cat_user }}"
shell: lein uberjar # shell: lein uberjar
args: # args:
chdir: "{{ cat_git_destination }}" # chdir: "{{ cat_git_destination }}"
######################## ########################

View file

@ -9,4 +9,4 @@ ACCESS-TOKEN-URI="{{ access-token-uri }}"
OAUTH-CONSUMER-KEY="{{ OAUTH-CONSUMER-KEY }}" OAUTH-CONSUMER-KEY="{{ OAUTH-CONSUMER-KEY }}"
OAUTH-CONSUMER-SECRET="{{ OAUTH-CONSUMER-SECRET }}" 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