diff --git a/defaults/main.yml b/defaults/main.yml index 2e76dd0..a47fee2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,6 +1,7 @@ --- # defaults file for . cat_user: cat +version: 1.0.1 mariadb_root_password: "some_super_secure_password" diff --git a/tasks/main.yml b/tasks/main.yml index fb81025..bbf4588 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 }}" ######################## diff --git a/templates/start.sh b/templates/start.sh index b0c07dc..b3ccb23 100644 --- a/templates/start.sh +++ b/templates/start.sh @@ -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