Fix ansible and DB URL

This commit is contained in:
redfast00 2019-06-13 20:38:38 +02:00
parent d2e8751da9
commit 12deb7f2ab
No known key found for this signature in database
GPG key ID: 5946E0E34FD0553C
2 changed files with 1 additions and 4 deletions

View file

@ -17,8 +17,6 @@
- name: Ensure mariadb installation and setup database (see default vars)
become: yes
become_user: root
include_role:
name: geerlingguy.mysql

View file

@ -2,7 +2,7 @@
# Run the java jar
export DATABASE_URL="mysql://localhost:{{ cat_db_port }}/{{ cat_db_name }}?user={{ cat_db_user }}&password={{ cat_db_password }}"
export DATABASE_URL="mysql://localhost:{{ cat_db_port }}/{{ cat_db_name }}?user={{ cat_db_user }}&password={{ cat_db_password }}?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC"
export PORT="{{ cat_app_port }}"
export APP_HOST="{{ cat_app_host }}"
@ -17,4 +17,3 @@ java -jar {{ cat_git_destination }}/releases/cat.jar migrate
java -jar {{ cat_git_destination }}/releases/cat.jar
-Dlogback.configurationFile=env/dev/resources/logback.xml \