From baa4b4d2e539cf99b3f6734e66e1fe2e09f91b3e Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Tue, 12 Jul 2022 11:44:41 +0200
Subject: [PATCH] mobimo/support#2991 Fix bugs

---
 tasks/apps/maven.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tasks/apps/maven.yml b/tasks/apps/maven.yml
index a971160..77ea473 100644
--- a/tasks/apps/maven.yml
+++ b/tasks/apps/maven.yml
@@ -67,6 +67,12 @@
     - pull --quiet
     - up -d
 
+- name: Restart cron container
+  command: dc up cron -d --force-recreate
+  args:
+    chdir: '{{ appdir }}'
+  when: app.dbimage is defined
+
 - name: Set Permissions in Container
   command: dc exec -it -u root db chown -R mysql /var/backups/mysql
   args:
-- 
GitLab