aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/sz-ds/handlers
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-29 23:08:48 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-30 10:19:27 +0200
commitf8accf692c69924a4fca8714bb4fb2a5eab12d0e (patch)
treef70e5445a81567b479d7e1e6fa1ffcba707bfeae /ansible/roles/sz-ds/handlers
parent8b2f8441ccb110427078e47c76a8098f2677a54d (diff)
downloadinfra-f8accf692c69924a4fca8714bb4fb2a5eab12d0e.tar.gz
infra-f8accf692c69924a4fca8714bb4fb2a5eab12d0e.tar.bz2
infra-f8accf692c69924a4fca8714bb4fb2a5eab12d0e.tar.xz
infra-f8accf692c69924a4fca8714bb4fb2a5eab12d0e.zip
sz-ds: flyway migrations.
Diffstat (limited to 'ansible/roles/sz-ds/handlers')
-rw-r--r--ansible/roles/sz-ds/handlers/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/sz-ds/handlers/main.yml b/ansible/roles/sz-ds/handlers/main.yml
index 846f076..da1ca2e 100644
--- a/ansible/roles/sz-ds/handlers/main.yml
+++ b/ansible/roles/sz-ds/handlers/main.yml
@@ -3,3 +3,5 @@
name: sz-ds
state: restarted
+- name: flyway migrate
+ shell: sudo -iu sz-ds flyway migrate